Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dev #15

Merged
merged 249 commits into from
Oct 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
38b25a0
fix logo
sam-astro Jan 9, 2024
18dd460
Update README.md
sam-astro Jan 9, 2024
3e3444f
Update README.md
sam-astro Jan 9, 2024
f74b072
Merge branch 'dev' into docker-image-task-implementation
sam-astro Jan 9, 2024
23d08fe
Add diagram for simple understanding
sam-astro Jan 9, 2024
b0a5e25
Add diagrams, expand Docker Update information
sam-astro Jan 9, 2024
5447f06
Update Icon
sam-astro Jan 9, 2024
5715a29
Crop and add outline to diagram images
sam-astro Jan 10, 2024
81b2ce3
Update README.md
sam-astro Jan 10, 2024
603c472
New command
sam-astro Jan 10, 2024
10ab773
Use new split delimiter using single chars
sam-astro Jan 11, 2024
4a16611
Update Blockchain.cpp
sam-astro Jan 11, 2024
f7805df
Update strops.h
sam-astro Jan 11, 2024
65e6664
Update Miner.cpp
sam-astro Jan 11, 2024
7391697
Update Console.cpp
sam-astro Jan 11, 2024
b3f56f5
Update Console.h
sam-astro Jan 11, 2024
3527a2f
Replace with namespace `console`
sam-astro Jan 11, 2024
8380950
Use namespace instead of class for `Console.h`
sam-astro Jan 11, 2024
3eb6e29
Fix octal representation
sam-astro Jan 12, 2024
1e2c4c7
Update .gitignore
sam-astro Jan 12, 2024
a7ee7f6
Newer Logos
sam-astro Jan 12, 2024
e6df9f0
Update P2PClient.h
sam-astro Jan 12, 2024
e408c57
Update command and argument parsing
sam-astro Jan 12, 2024
8025c44
Replace Rust with Docker
sam-astro Jan 12, 2024
8e509f2
Update Console.h
sam-astro Jan 12, 2024
f507ca3
Replace Rust with Docker
sam-astro Jan 12, 2024
fcb13dd
Detach from container when it is run
sam-astro Jan 12, 2024
57c83ec
Update README.md
sam-astro Jan 12, 2024
1d2336d
Use new logo
sam-astro Jan 12, 2024
17d96d6
Fix link
sam-astro Jan 12, 2024
622f11c
Update Logo (again)
sam-astro Jan 13, 2024
e251160
Update README.md
sam-astro Jan 13, 2024
c49fba3
Update LICENSE
sam-astro Jan 13, 2024
b4d218e
Update License name
sam-astro Jan 13, 2024
4d373ab
Show new example of a block with `containerTasks` tracking array
sam-astro Jan 13, 2024
93d599c
fix first block upgrading, change names, use `pprev` and `pnext`
sam-astro Jan 13, 2024
adf7f6d
Update README.md
sam-astro Jan 13, 2024
a82d23e
Increase mine time goal to 5 mins, fix diff. calculations through div…
sam-astro Jan 14, 2024
58772a9
Logo is now with exe
sam-astro Jan 14, 2024
2314b46
Use base 36 nonce and more efficient adding hash algorithm
sam-astro Jan 16, 2024
7624121
Add options to pause or quit mining, better verbosity settings
sam-astro Jan 16, 2024
bce6de6
Add condensing
sam-astro Jan 16, 2024
6a3094b
Update README.md
sam-astro Jan 16, 2024
f724e3d
Rename from `DCC-Miner` to `dcc_client`
sam-astro Jan 16, 2024
7052d2c
Update version, fix highlighting of wrong hash after mining
sam-astro Jan 16, 2024
a101367
Even better difficulty calculation
sam-astro Jan 16, 2024
cedc231
fix
sam-astro Jan 17, 2024
5e57728
Use `average` instead of `mode` now that difficulties are dynamic now
sam-astro Jan 18, 2024
175c9f8
Fix hex carry issue, causing incorrect difficulty assumptions
sam-astro Jan 19, 2024
7e3065b
Update randEngine.c
sam-astro Jan 19, 2024
77ec0ca
Update randEngine.c
sam-astro Jan 19, 2024
01c547a
Update Miner.h
sam-astro Jan 19, 2024
f6fc06a
Use predetermined random seed when running programs
sam-astro Jan 19, 2024
d6a751d
Update line endings to Unix
sam-astro Jan 19, 2024
6618251
Merge branch 'docker-image-task-implementation' of https://github.com…
sam-astro Jan 20, 2024
25e1535
Fix difficulty ratio calculation
sam-astro Jan 21, 2024
f004ffc
Update Network.cpp
sam-astro Jan 31, 2024
65a07c9
Update P2PClient.cpp
sam-astro Jan 31, 2024
5c0f8cc
Optimizations
sam-astro Jan 31, 2024
68609c3
Merge branch 'docker-image-task-implementation' of https://github.com…
sam-astro Jan 31, 2024
93256ba
Update P2PClient.h
sam-astro Feb 1, 2024
6b8affd
Better peer IP sharing, new `life` value that removes dead peers
sam-astro Feb 1, 2024
211575b
Use hole-punching instead of static port, allow manual adding of peer…
sam-astro Feb 1, 2024
790beb4
Trying to add port scanning, put on hold for now.
sam-astro Feb 1, 2024
488475a
Merge branch 'docker-image-task-implementation' of https://github.com…
sam-astro Feb 1, 2024
2acf605
Create FileSharing.md
sam-astro Feb 5, 2024
a7676df
Add `Deluge` creation command
sam-astro Feb 6, 2024
d9494bb
Add new function to get last characters after final instance of delim…
sam-astro Feb 6, 2024
0b13d2d
Add new function in strops.cpp
sam-astro Feb 6, 2024
15b6dbb
Update Blockchain.cpp
sam-astro Feb 6, 2024
3f7290d
Add new directory for programs in-development
sam-astro Feb 6, 2024
f3e0b39
Update version, add `DELUGE_VERSION`
sam-astro Feb 6, 2024
cc4b7ec
Include `DELUGE_VERSION` in deluge file format
sam-astro Feb 6, 2024
1c618d3
Update P2PClient.h
sam-astro Feb 6, 2024
c29bc8d
Update Blockchain.cpp
sam-astro Feb 6, 2024
fead7c3
Update P2PClient.h
sam-astro Feb 6, 2024
c3672f3
Update Main.cpp
sam-astro Feb 6, 2024
2b0578a
Update Main.cpp
sam-astro Feb 6, 2024
6704044
Add Verification function for deluge
sam-astro Feb 6, 2024
ddf7e39
Update P2PClient.h
sam-astro Feb 6, 2024
f679d23
Update Main.cpp
sam-astro Feb 6, 2024
852d773
Add docker container build commands
sam-astro Feb 6, 2024
92fdf28
Implement Docker build system, upgrade Deluge to SHA256, use compress…
sam-astro Feb 6, 2024
dfa159e
Remove `.tar.zip` file
sam-astro Feb 7, 2024
9864de0
Ignore `.tar.zip` files from now on
sam-astro Feb 7, 2024
a26e187
Include expected size in bytes for Deluges
sam-astro Feb 7, 2024
b234adc
Update SettingsConsts.h
sam-astro Feb 7, 2024
7474b13
Update SettingsConsts.h
sam-astro Feb 7, 2024
e2a6660
Update Blockchain.cpp
sam-astro Feb 7, 2024
f6005d4
Fix deluge verification
sam-astro Feb 7, 2024
17f0629
Update Main.cpp
sam-astro Feb 7, 2024
42956ca
Update FileSharing.md
sam-astro Feb 7, 2024
d5d35c3
Add Deluge Daemon section
sam-astro Feb 7, 2024
712f705
Add Deluges section and link
sam-astro Feb 7, 2024
50604fe
Add sample deluge file
sam-astro Feb 7, 2024
a64a181
Add error handling for docker, make `-ls` command for listing all loc…
sam-astro Feb 8, 2024
1d7f69d
Update .gitignore
sam-astro Feb 8, 2024
fe407c3
Merge branch 'docker-image-task-implementation' of https://github.com…
sam-astro Feb 8, 2024
9d62c1d
Make sure all characters, even null bytes `\0` work
sam-astro Feb 8, 2024
8a6b14c
Update FileSharing.md
sam-astro Feb 12, 2024
9618629
Create benchmark.cpp
sam-astro Feb 27, 2024
8bee2a4
Create benchmark.h
sam-astro Feb 27, 2024
64ac891
Update benchmark.cpp
sam-astro Feb 27, 2024
3d8be89
Update Main.h
sam-astro Feb 27, 2024
14cd3be
Update benchmark.cpp
sam-astro Feb 27, 2024
93b3f37
Update Main.cpp
sam-astro Feb 27, 2024
65bca1f
use better unit
sam-astro Feb 27, 2024
be15889
use better type
sam-astro Feb 27, 2024
219c88d
Add permanent server address
sam-astro Mar 27, 2024
b6669a6
Begin linux port
sam-astro Apr 1, 2024
b4613cd
Start implementing Linux P2P networking
sam-astro Apr 1, 2024
02a90cb
Continue implementing linux P2P, label with Distributed Computing Pro…
sam-astro Apr 1, 2024
6e2e3fe
Add benchmark
sam-astro Apr 1, 2024
2df1987
Merge branch 'docker-image-task-implementation' of https://github.com…
sam-astro Apr 1, 2024
72c6524
Separate platform builds into separate `out` folders, fix bugs
sam-astro Apr 1, 2024
3928a47
Update system to use new server for ip and port getting
sam-astro Apr 1, 2024
bb35fc2
Add separate linux build folder
sam-astro Apr 1, 2024
123dd8b
Merge branch 'docker-image-task-implementation' of https://github.com…
sam-astro Apr 1, 2024
b2f8503
Add Linux listening P2P handling
sam-astro Apr 2, 2024
1c40a81
Make sure peer list is not empty
sam-astro Apr 2, 2024
1131f82
p2p changes
sam-astro Apr 2, 2024
9d472b2
Merge branch 'docker-image-task-implementation' of https://github.com…
sam-astro Apr 2, 2024
bfe5fb1
Finalize Linux networking, send/receive, and allow persistent permane…
sam-astro Apr 3, 2024
c50a2df
Fix linux colors, CLI formatting
sam-astro Apr 3, 2024
7b8b092
Make CMakeLists.txt file more universal, temporarily revert symbol ch…
sam-astro Apr 30, 2024
9f8e83f
Add data separation by index rather than by character, to prevent cor…
sam-astro Apr 30, 2024
85cfd96
Stop using Docker, and instead use Podman as container manager
sam-astro May 2, 2024
02a6c8d
Fix bug using comma instead of colon symbol
sam-astro May 2, 2024
7e1bea6
Fix all P2P sending protocols
sam-astro May 2, 2024
8a14f74
Fix once again, better error handling
sam-astro May 2, 2024
c21dc54
linux changes
sam-astro May 3, 2024
adb61c5
merge
sam-astro May 3, 2024
f6ba3aa
Fix merge issues
sam-astro May 3, 2024
f82f299
Add peer listing and announcing
sam-astro May 3, 2024
4af7fc3
Merge branch 'docker-image-task-implementation' of https://github.com…
sam-astro May 3, 2024
e5fa3fb
Update README.md
sam-astro May 10, 2024
1e873af
update UI and continue bug fixing
sam-astro May 12, 2024
43d786f
Merge branch 'docker-image-task-implementation' of https://github.com…
sam-astro May 12, 2024
b5c0ecf
Account for all cores when measuring CPU performance
sam-astro Oct 11, 2024
4b4c462
Clarify
sam-astro Oct 12, 2024
f75040a
Change default bridging address, reenable directory creation
sam-astro Oct 14, 2024
ebb3b38
Edit socket type, add logo
sam-astro Oct 14, 2024
bc3be1f
Merge branch 'docker-image-task-implementation' of https://github.com…
sam-astro Oct 14, 2024
2b864f5
Change default DCCARK address
sam-astro Oct 14, 2024
73b625e
Merge branch 'docker-image-task-implementation' of https://github.com…
sam-astro Oct 14, 2024
f92e978
make more verbose
sam-astro Oct 14, 2024
d46f05f
Fix linux sendto() errors usign wrong type in function argument
sam-astro Oct 14, 2024
86e3dd5
restore old recv functionality for linux
sam-astro Oct 14, 2024
76a596f
Work on fixes to recv() call
sam-astro Oct 14, 2024
a9b5766
increase speed of recv and send retries
sam-astro Oct 14, 2024
da0fa0e
ensure setting length of remote addr
sam-astro Oct 14, 2024
11d3f56
temp remove timout
sam-astro Oct 14, 2024
5d67ed3
Fix invalid extraction of IP and port from socket causing many problems
sam-astro Oct 15, 2024
4e9154e
try to fix problem by deleting char* after use
sam-astro Oct 15, 2024
d46fd02
Fix other instance of bad port to string conversion
sam-astro Oct 15, 2024
180bd89
Use segment length instead of max buffer size to prevent overflowing …
sam-astro Oct 15, 2024
95c15d7
Add back timeout for recv
sam-astro Oct 15, 2024
a6da202
Stop using function which could be rejecting other connections
sam-astro Oct 15, 2024
53d5c12
Add progress indicator for checking blocks and begin testing implemen…
sam-astro Oct 15, 2024
809d80b
increase verbosity
sam-astro Oct 15, 2024
14396c1
Make sure ip is switched when new peer is connected or disconnected
sam-astro Oct 15, 2024
5ac4629
Reduce send attempts,
sam-astro Oct 15, 2024
06b1841
reuce verbosity again
sam-astro Oct 15, 2024
aa02386
verbosity to fix seg fault
sam-astro Oct 15, 2024
944e636
ensure not using negative index for peerlist
sam-astro Oct 15, 2024
a98e314
Issue fixed, reduce verbosity again
sam-astro Oct 15, 2024
ac56904
Improve verbosity clarity, make progress indicator more concise
sam-astro Oct 15, 2024
90ccb65
reduce number of progress updates
sam-astro Oct 15, 2024
1819ddb
edit verbose settings, make updates dynamic
sam-astro Oct 15, 2024
8501d7b
fix more verbosity
sam-astro Oct 15, 2024
93d41e8
prevent division by zero
sam-astro Oct 15, 2024
1d812ce
forgot to compile :|
sam-astro Oct 15, 2024
07a7ace
make MESSAGESIZE const variable and increase it
sam-astro Oct 15, 2024
2c4d5b7
reduce delay times and timout
sam-astro Oct 15, 2024
fe7ac00
increase verbosity for one I forgot
sam-astro Oct 15, 2024
f2d7d22
increase verbosity spec of multiple p2p operations
sam-astro Oct 15, 2024
8727bfd
Don't ever remove DCCARK address, even with inactivity, and fix peerl…
sam-astro Oct 15, 2024
99ab6c1
stoi() was throwing error at some point in runtime, make error messge…
sam-astro Oct 15, 2024
2233ed1
Add more explicit error handling
sam-astro Oct 15, 2024
a35ea12
Add error checking for segInfo header
sam-astro Oct 15, 2024
f90095d
Add ellow changing verbosity during runtime
sam-astro Oct 15, 2024
0ac0f29
Change verbosity levels
sam-astro Oct 15, 2024
d91ddac
Save verbosity to file, normalize level 4 output messages
sam-astro Oct 15, 2024
0966e7e
remember to use newline in print
sam-astro Oct 15, 2024
8b58160
Add visual conversation grouping for oranization
sam-astro Oct 15, 2024
2b3cc5f
remove special characters, make conversation start print in other cas…
sam-astro Oct 15, 2024
24757f6
remove
sam-astro Oct 15, 2024
d57aa48
remove old dir
sam-astro Oct 15, 2024
58ad358
Revise benchmarking
sam-astro Oct 15, 2024
eac45cd
Use more universal indicator loding symbols
sam-astro Oct 15, 2024
58c0037
Use correct Metric prefixes for num truncation, update CMakeLists, us…
sam-astro Oct 15, 2024
191514d
Make sure compiler options are not included for windows
sam-astro Oct 15, 2024
e10beb4
Update version tnumber to reflect changes
sam-astro Oct 15, 2024
4428d16
Check for blank lines in peerlist
sam-astro Oct 16, 2024
3a66af1
Work on deluge system
sam-astro Oct 18, 2024
0224bc5
Remove test directory
sam-astro Oct 18, 2024
b0b15e1
m
sam-astro Oct 18, 2024
6d8f6db
change gitignore
sam-astro Oct 18, 2024
af16f7a
remove cached
sam-astro Oct 18, 2024
4f4f680
fix gitignore again
sam-astro Oct 18, 2024
84ea5d4
Add back test container to test gitignore
sam-astro Oct 18, 2024
7471072
Add more to gitignore
sam-astro Oct 18, 2024
6f6a40f
fixed gitignore
sam-astro Oct 18, 2024
c071f5e
Add better peer announcing
sam-astro Oct 19, 2024
1734c3e
Make blockchainLength represent real length by recounting
sam-astro Oct 19, 2024
e2d7e19
Make sure to set the address string at the beginning of each loop
sam-astro Oct 19, 2024
3ee79c7
Make sure recieved messages are not ignored when starting up during c…
sam-astro Oct 19, 2024
4f627cf
compile
sam-astro Oct 19, 2024
d82c800
add answer handling to linux binary
sam-astro Oct 19, 2024
ee4e2b4
Do test to ensure seginfo header exists and is complete
sam-astro Oct 19, 2024
1e53ef7
Add higher verbosity and change string cutoff for testing
sam-astro Oct 19, 2024
c49653f
Dont include segSize when subtracting from sent bytes
sam-astro Oct 19, 2024
c83f479
Test if different way of cutting string will work better
sam-astro Oct 19, 2024
d96148e
Revert
sam-astro Oct 19, 2024
eb0dbda
Correct bytes sent message
sam-astro Oct 19, 2024
e147a91
Make sure there is no skipping of segments
sam-astro Oct 19, 2024
998dfb2
add catchall
sam-astro Oct 19, 2024
fd2a134
Allow receiving data out-of-order
sam-astro Oct 19, 2024
bcc5735
Remove debug messages, recompile
sam-astro Oct 19, 2024
88b672e
recompile
sam-astro Oct 19, 2024
c8b2c7c
Stop using string peer list, and use map object keys
sam-astro Oct 19, 2024
5467f30
fix issue from setting string to 0
sam-astro Oct 19, 2024
d771f7c
Add information displaying if this is a debug build or not
sam-astro Oct 19, 2024
7ac2104
use release mode again
sam-astro Oct 19, 2024
b7bb660
use release mode again
sam-astro Oct 19, 2024
8b7c4c7
recompile
sam-astro Oct 19, 2024
4337e6d
fix benchmark optimizing away, fix typo
sam-astro Oct 19, 2024
f4f297f
attempt fix to peer selection
sam-astro Oct 19, 2024
c7dacaa
Attempt fixing peer selection
sam-astro Oct 19, 2024
c62aeeb
Fix peer connection by initializing new peer objects correctly
sam-astro Oct 19, 2024
ffa5b0a
fix bugs
sam-astro Oct 19, 2024
a6354bf
attempt fixing staying on old peer
sam-astro Oct 19, 2024
4b2fd1d
remove buggy life addition
sam-astro Oct 19, 2024
43c3db5
Add debugging command
sam-astro Oct 19, 2024
4e24e43
Init strings
sam-astro Oct 19, 2024
0f08905
Init p2p in corrent order
sam-astro Oct 19, 2024
ec8aa19
Make sure to not change string variable in multiple concurrent threads
sam-astro Oct 20, 2024
6539bbb
Lower verbosity, check if conversation has ended to stop connection
sam-astro Oct 20, 2024
7a5a85e
Make both peers record the other is online
sam-astro Oct 20, 2024
696ca05
Make initial connect message also contain the announce info for less …
sam-astro Oct 20, 2024
0e7e76c
use correct request tag
sam-astro Oct 20, 2024
8e1aa85
m
sam-astro Oct 20, 2024
4f33466
Add timeout for connections and receive attempts
sam-astro Oct 20, 2024
bfeee00
Add more segInfo header check
sam-astro Oct 20, 2024
d22fc2c
final commit
sam-astro Oct 20, 2024
200e7bb
Merge branch 'main' into docker-image-task-implementation
sam-astro Oct 20, 2024
a85ea10
Merge
sam-astro Oct 20, 2024
525b4ca
Merge pull request #14 from The-Distributed-Computing-Project/docker-…
sam-astro Oct 20, 2024
f0a35fb
Fix Logo
sam-astro Oct 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
54 changes: 27 additions & 27 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG] "
labels: bug
assignees: sam-astro

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
---
name: Bug report
about: Create a report to help us improve
title: "[BUG] "
labels: bug
assignees: sam-astro
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.
34 changes: 17 additions & 17 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE REQUEST] "
labels: enhancement
assignees: sam-astro

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Additional context**
Add any other context or screenshots about the feature request here.
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE REQUEST] "
labels: enhancement
assignees: sam-astro
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Additional context**
Add any other context or screenshots about the feature request here.
140 changes: 70 additions & 70 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,70 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '37 5 * * 3'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '37 5 * * 3'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support
steps:
- name: Checkout repository
uses: actions/checkout@v2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
17 changes: 14 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

*.deluge
*.tar.zip
CPPClient/.vs/CPPClient/v16/ipch/AutoPCH/79e064bba4ed3c10/CPPCLIENT.ipch
AutoPCH
Preview
Expand All @@ -12,6 +13,7 @@ FileContentIndex
*.dccwallet
*.lnk
*.dccblock
*.dccsuper
programs
slnx.sqlite
DCC-Miner/.vs/slnx.sqlite
Expand All @@ -21,9 +23,18 @@ DCC-Miner/out/build/x64-debug/DCC-Miner/DCC-Miner.pdb
DCC-Miner/out/build/x64-debug/DCC-Miner/DCC-Miner.pdb
*.pdb
*.db
*/sec/*
*/wwwdata/*
/sec/
/wwwdata/
wwwdata/
.vs
*.obj
*.pem
*/config.cfg
*.list
DCC-Miner/out/_deps/cpr-src/
DCC-Miner/out/_deps/zlib-src/
dcc_client/out/_deps/cpr-src/
dcc_client/out/_deps/zlib-src/
dcc_client/out/dcc_client/TestProgram/
*.ilk
core
4 changes: 2 additions & 2 deletions .vs/CMakeWorkspaceSettings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"enableCMake": true
{
"enableCMake": true
}
4 changes: 2 additions & 2 deletions .vs/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"CurrentProjectSetting": "No Configurations"
{
"CurrentProjectSetting": "No Configurations"
}
32 changes: 16 additions & 16 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"ExpandedNodes": [
"",
"\\DCC-Miner",
"\\DCC-Miner\\DCC-Miner",
"\\DCC-Miner\\out",
"\\DCC-Miner\\out\\CMakeFiles\\3.21.4",
"\\DCC-Miner\\out\\CMakeFiles\\3.21.4\\CompilerIdC",
"\\DCC-Miner\\out\\_deps",
"\\DCC-Miner\\out\\_deps\\cpr-build",
"\\DCC-Miner\\out\\_deps\\cpr-subbuild",
"\\DCC-Miner\\out\\_deps\\curl-build",
"\\DCC-Miner\\out\\_deps\\zlib-build"
],
"SelectedNode": "\\DCC-Miner\\out\\_deps\\cpr-build\\cpr.sln",
"PreviewInSolutionExplorer": false
{
"ExpandedNodes": [
"",
"\\DCC-Miner",
"\\DCC-Miner\\DCC-Miner",
"\\DCC-Miner\\out",
"\\DCC-Miner\\out\\CMakeFiles\\3.21.4",
"\\DCC-Miner\\out\\CMakeFiles\\3.21.4\\CompilerIdC",
"\\DCC-Miner\\out\\_deps",
"\\DCC-Miner\\out\\_deps\\cpr-build",
"\\DCC-Miner\\out\\_deps\\cpr-subbuild",
"\\DCC-Miner\\out\\_deps\\curl-build",
"\\DCC-Miner\\out\\_deps\\zlib-build"
],
"SelectedNode": "\\DCC-Miner\\out\\_deps\\cpr-build\\cpr.sln",
"PreviewInSolutionExplorer": false
}
2 changes: 0 additions & 2 deletions DCC-Miner/.vs/CMakeWorkspaceSettings.json

This file was deleted.

Binary file removed DCC-Miner/.vs/DCC-Miner/v16/.suo
Binary file not shown.
Binary file removed DCC-Miner/.vs/DCC-Miner/v17/.suo
Binary file not shown.
Binary file removed DCC-Miner/.vs/DCC-Miner/v17/.wsuo
Binary file not shown.
Binary file removed DCC-Miner/.vs/DCC-Miner/v17/workspaceFileList.bin
Binary file not shown.
Binary file removed DCC-Miner/.vs/Distributed-Compute-Coin/v17/.suo
Binary file not shown.
3 changes: 0 additions & 3 deletions DCC-Miner/.vs/ProjectSettings.json

This file was deleted.

15 changes: 0 additions & 15 deletions DCC-Miner/.vs/VSWorkspaceState.json

This file was deleted.

Binary file removed DCC-Miner/.vs/cmake.db
Binary file not shown.
Binary file removed DCC-Miner/.vs/slnx.sqlite
Binary file not shown.
10 changes: 0 additions & 10 deletions DCC-Miner/CMakeLists.txt

This file was deleted.

Binary file removed DCC-Miner/DCC-Logo.ico
Binary file not shown.
Binary file removed DCC-Miner/DCC-Logo.png
Binary file not shown.
Loading
Loading