Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
676838a
Setting up logs
BHouwens Jun 26, 2024
04e0ba9
initial implementation of SHA3-256 in an OpenGL compute shader
DaMatrix Jun 26, 2024
d8c2ac9
working SHA3-256 on the GPU
DaMatrix Jun 27, 2024
12be98e
gpu miner can mine when no difficulty function is set!
DaMatrix Jun 27, 2024
2b8484d
initial attempt at implementing the difficulty function on the GPU
DaMatrix Jun 27, 2024
f0136b3
difficulty function on the GPU works!
DaMatrix Jun 27, 2024
03ce2ab
clean up opengl api a bit
DaMatrix Jun 28, 2024
3876ed4
clean up opengl api even more
DaMatrix Jun 28, 2024
86e0306
integrate the opengl miner into the existing mining function
DaMatrix Jun 28, 2024
41d226d
make the opengl miner safe to be created and destroyed from multiple …
DaMatrix Jun 28, 2024
3673764
try to improve miner thread-safety
DaMatrix Jun 28, 2024
b161f06
split up miner-related code into separate modules
DaMatrix Jul 1, 2024
ad2089b
add a constant for SHA3-256 digest size
DaMatrix Jul 1, 2024
e17a8ba
initial implementation of a miner in vulkan
DaMatrix Jul 1, 2024
d705ac7
miner_pow: add a more general-purpose user interface as a trait for a…
DaMatrix Jul 2, 2024
18a2d79
move opengl miner into miner_pow directory and add separate miner ben…
DaMatrix Jul 2, 2024
08d2199
Merge branch 'refs/heads/difficulty_function_opengl' into difficulty_…
DaMatrix Jul 2, 2024
007e8d1
miner_pow::vulkan: implement PoWBlockMiner
DaMatrix Jul 2, 2024
5bb8f5f
miner_pow::vulkan: use specialization constants instead of uniforms f…
DaMatrix Jul 2, 2024
29f1898
miner_pow::vulkan: specialize hash code for SHA3-256
DaMatrix Jul 3, 2024
0f4714b
miner_pow: add a flag to indicate if a miner is hardware-accelerated
DaMatrix Jul 3, 2024
bf8b21c
miner_pow: improved handling for nonces
DaMatrix Jul 3, 2024
dcbe669
Allow blocks to have nonces up to 32 bytes in length
DaMatrix Jul 3, 2024
79ad899
Drastically reduce minimum block PoW difficulty
DaMatrix Jul 3, 2024
ff4ae3c
Merge branch 'refs/heads/difficulty_function_opengl' into difficulty_…
DaMatrix Jul 3, 2024
f7d2399
miner_pow: abstract away object type so that we can use the same mine…
DaMatrix Jul 3, 2024
983f091
miner_pow: implement required traits to use miner for addresses as well
DaMatrix Jul 3, 2024
5fb9ce4
miner_pow: dynamically select the best miner implementation
DaMatrix Jul 3, 2024
dba8319
Merge branch 'refs/heads/difficulty_function_opengl' into difficulty_…
DaMatrix Jul 3, 2024
5d4ae75
miner_pow::vulkan: fix build after merge
DaMatrix Jul 3, 2024
568034d
miner_pow::vulkan: pre-digest leading bytes on the CPU
DaMatrix Jul 3, 2024
7aaa999
miner_pow::vulkan: Add optimized functions for digesting more than 1 …
DaMatrix Jul 3, 2024
1e2453c
miner_pow::vulkan: Only select devices which support the necessary fe…
DaMatrix Jul 4, 2024
3c1bc9c
Merge pull request #77 from DaMatrix/difficulty_function_vulkan
BHouwens Jul 4, 2024
7a9a82b
miner_pow: Add lots of documentation and clean up APIs
DaMatrix Jul 4, 2024
59762a8
miner_pow: create_any_miner now returns Arc<Mutex<...>>
DaMatrix Jul 4, 2024
aa23551
Merge branch 'refs/heads/difficulty_function_opengl' into difficulty_…
DaMatrix Jul 4, 2024
1b6a1e2
miner_pow::vulkan: Cache miner instances
DaMatrix Jul 4, 2024
ca14179
utils: Make block PoW verification return meaningful errors
DaMatrix Jul 4, 2024
782be88
Merge pull request #79 from DaMatrix/difficulty_function_vulkan
BHouwens Jul 8, 2024
92f15ae
chore: added libs for building diff function code
BarryBoot Jul 11, 2024
9e50318
chore: new code is not building on arm64
BarryBoot Jul 15, 2024
807665c
chore: test with simplified build
BarryBoot Jul 15, 2024
379b062
chore: test working non-distroless build
BarryBoot Jul 17, 2024
95f25be
Adding logs
BHouwens Jul 17, 2024
5eae871
Merge pull request #80 from AIBlockOfficial/chore/difficulty_function…
BarryBoot Jul 18, 2024
c9db5d1
Add dockerignore
DaMatrix Aug 2, 2024
7b55379
miner_pow:opengl: Don't panic on GLFW init failure
DaMatrix Aug 2, 2024
3257de2
Merge pull request #84 from DaMatrix/difficulty_function_gpu
BarryBoot Aug 2, 2024
19f5441
Merge with develop
BHouwens Jan 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/.idea/
/.vscode/

/assets/
/run/
/src/bin/tls_data/
/src/db/db/
/src/wallet/wallet/
/target/
*.log
Loading
Loading