Commit graph

809 commits

Author SHA1 Message Date
SChernykh
1e1c3ad6e9 Updated copyright 2024-01-02 14:12:16 +01:00
SChernykh
1729b51868 Merge mining API: added a check for the result field 2023-12-26 20:28:30 +01:00
SChernykh
896eac6d8c Force debug checks 2023-12-25 20:34:18 +01:00
SChernykh
6eb83dc891 Cache find_aux_nonce to save CPU time 2023-12-25 15:53:01 +01:00
SChernykh
f98d2e652a Fixed cppcheck errors 2023-12-23 19:22:06 +01:00
SChernykh
c28021b5a4 Merge branch 'master' into merge-mining 2023-12-23 19:07:04 +01:00
SChernykh
bc36be1e58 Fixed block broadcast detection
Peers could ban each other erroneously for "not broadcasting blocks"
2023-12-23 19:06:18 +01:00
SChernykh
f7a2a6fe07 Fixed block broadcasts 2023-12-23 15:19:25 +01:00
SChernykh
df2a81d76d Fixed cppcheck errors 2023-12-23 11:22:03 +01:00
SChernykh
3c510598fa Better type checking for Merkle root hashes 2023-12-23 10:17:49 +01:00
SChernykh
ae233bbf0b Fixed BLOCK_FOUND detection 2023-12-22 11:50:08 +01:00
SChernykh
18e5e6ab0f Merge branch 'master' into merge-mining 2023-12-11 17:30:32 +01:00
SChernykh
c61ca959b2 Sync test: run until fully synced
Old shortcut is not needed anymore
2023-12-11 11:04:22 +01:00
SChernykh
9015106ca2 Fixed a potential deadlock 2023-12-10 20:11:10 +01:00
SChernykh
658d756120 Fixed Merkle proof generation for aux chains 2023-12-10 19:24:05 +01:00
SChernykh
38417b0fd5 Fixed BlockTemplate::get_block_template_blob
submit_block was broken because of it
2023-12-10 17:11:11 +01:00
SChernykh
4362ee490c Multiple bugfixes 2023-12-10 15:40:05 +01:00
SChernykh
9ad9821e2a Fix: set timestamp for locally found blocks 2023-12-10 00:41:49 +01:00
SChernykh
1f57e4f701 Reduced min difficulty for testing 2023-12-09 23:19:39 +01:00
SChernykh
e20c73fa27 Merge branch 'master' into merge-mining 2023-12-08 14:18:22 +01:00
SChernykh
2e3d042d60 Fixed cppcheck error 2023-12-08 09:38:22 +01:00
SChernykh
a8582b2a0f p2pool v3.9 2023-11-26 16:17:46 +01:00
SChernykh
6a7bbfabcd Merge branch 'master' into merge-mining 2023-11-26 10:49:43 +01:00
SChernykh
8493dbc47b Fixed cppcheck errors 2023-11-26 09:52:24 +01:00
SChernykh
1bf594d9e2 Refactored keccak interface 2023-11-24 14:20:11 +01:00
SChernykh
65d83aa09c More tests 2023-11-23 14:02:00 +01:00
SChernykh
13087dd45e Submit found aux blocks 2023-11-20 22:22:37 +01:00
SChernykh
d697d0017e Submit the aux block when the difficulty is met (WIP) 2023-11-20 00:56:48 +01:00
SChernykh
7e0b958207 Propagate aux difficulty to miners 2023-11-19 19:48:23 +01:00
SChernykh
394b4f310e Sync test fixes 2023-11-17 19:50:55 +01:00
SChernykh
5aff5f5796 Sync test: added merge mining 2023-11-17 19:36:21 +01:00
SChernykh
d1fee33482 Added a fake merge mining node 2023-11-15 18:51:32 +01:00
SChernykh
e6b8292d5b Added command line for merge mining
Start a merge mining client for each of the aux chains
2023-11-10 16:17:34 +01:00
SChernykh
abd9c80e4d Merge branch 'master' into merge-mining 2023-11-07 16:52:57 +01:00
SChernykh
e4b11ecab4
Merge pull request #286 from hinto-janai/master
Add `gupax.io` to DNS seed nodes
2023-11-07 16:20:40 +01:00
SChernykh
781606bec5 Enabled SEH for MSVC builds 2023-11-07 13:09:24 +01:00
SChernykh
f4d709c0dd Util: more checks in get_dns_txt_records_base 2023-11-07 12:34:36 +01:00
SChernykh
8699e1887c Debug: print call stack of unhandled exceptions 2023-11-07 11:00:39 +01:00
hinto.janai
bf39319cbb
add gupax.io to DNS seed nodes 2023-11-06 17:05:33 -05:00
SChernykh
9eab833f66 Merge mining RPC: added merge_mining_submit_solution 2023-11-06 17:22:44 +01:00
SChernykh
40b2c2a858 Merge mining RPC: added merge_mining_get_job 2023-11-05 19:06:57 +01:00
SChernykh
e92ce0a5f3 Log: fixed broken output redirection on Windows 2023-11-05 18:28:11 +01:00
SChernykh
75bb046f22 Added merge mining RPC client
Basic code and one API call implemented
2023-11-01 19:52:19 +01:00
SChernykh
fd20313d65 Merge branch 'master' into merge-mining 2023-10-31 14:10:27 +01:00
SChernykh
837a33480e p2pool v3.8 2023-10-31 12:32:36 +01:00
SChernykh
c59845e746 Fixed cppcheck errors 2023-10-29 09:43:22 +01:00
SChernykh
fc31ac6cd0 Fixed Merkle tree root update 2023-10-25 22:54:25 +02:00
SChernykh
0b711cbe65 Init and update merkle tree root 2023-10-25 20:06:12 +02:00
SChernykh
2d1158af64 Store Merkle tree root in the merge mining tag 2023-10-25 15:49:25 +02:00
SChernykh
ec35c74e5f Init merge mining tag properly 2023-10-25 00:14:09 +02:00
SChernykh
417c89e96f Added get_aux_slot 2023-10-24 14:16:55 +02:00
SChernykh
d5a9fb8d0e Fixed cppcheck error 2023-10-24 10:55:26 +02:00
SChernykh
b8c68dc2e4 Added verify_merkle_proof by index 2023-10-23 20:43:45 +02:00
SChernykh
12a3eb862e Added merkle proofs 2023-10-22 23:31:07 +02:00
SChernykh
e51af9e6e8 Added merkle_hash_full_tree 2023-10-21 22:45:07 +02:00
SChernykh
b46da74c2c Moved out merkle tree hash code 2023-10-21 19:04:17 +02:00
SChernykh
119782920a Warn if there are too many background jobs 2023-10-20 21:12:26 +02:00
SChernykh
5febb8c4e2 Self-test: multithreaded dataset initialization 2023-10-18 13:43:40 +02:00
SChernykh
ddc6986401 Self-test: calculate 100 hashes instead of just 1 2023-10-18 11:18:57 +02:00
SChernykh
5988acb12b Fix CVE-2023-38545 2023-10-11 08:17:35 +02:00
SChernykh
294d1a525e Update check now also checks for connected peer versions 2023-10-09 11:08:51 +02:00
SChernykh
e5770a5343 Fixed cppcheck errors 2023-10-08 23:33:06 +02:00
SChernykh
7a65e1feb5 Check for updates in status and version commands 2023-10-08 21:01:50 +02:00
SChernykh
4e55f53fb4 Notify about new P2Pool versions 2023-10-08 18:52:06 +02:00
SChernykh
8270e0898b StratumServer: fixed memory leak on shutdown 2023-10-02 08:19:28 +02:00
SChernykh
2ed63ab3ac p2pool v3.7 2023-09-30 11:19:13 +02:00
SChernykh
d99a48d87d Added a reserve domain for seed node lists 2023-09-30 08:43:29 +02:00
SChernykh
27375e7382 StratumServer: removed an unnecessary check 2023-09-29 11:55:25 +02:00
SChernykh
a81d3c4989 ZMQ: fixed bind port error message 2023-09-26 19:35:30 +02:00
SChernykh
b922440fc7 Refactored software id code
Show a warning when an unknown software id is seen
2023-09-23 18:04:02 +02:00
SChernykh
954b9252c1 StratumServer: fixed data race in api update 2023-09-17 22:30:21 +02:00
charlie
ed32664b9e Adding workers data to api in stratum files 2023-09-17 20:09:53 +02:00
SChernykh
8619057224 Log: set locale for data output 2023-09-17 19:30:39 +02:00
SChernykh
10978c59e4 Made custom worker names safe for JSON data
And comma-separated lists too.
2023-09-17 11:32:56 +02:00
SChernykh
ed56206c30 More log tests 2023-09-17 10:38:46 +02:00
SChernykh
0b544bf55a API: removed file size limitation 2023-09-16 19:38:16 +02:00
SChernykh
a9d39f0803 Better error messages 2023-09-13 21:37:07 +02:00
SChernykh
2248739dd5 Don't update api when shutting down 2023-09-13 21:12:01 +02:00
SChernykh
b83b691714 TCPServer: cleaned up IPv4 address handling 2023-09-11 19:43:28 +02:00
SChernykh
887611c9d8 P2Pool: normalized peer list IPv4/IPv6 data 2023-09-09 20:22:43 +02:00
SChernykh
390cf0257e StratumServer: fixed data races on disconnect 2023-09-08 15:19:59 +02:00
SChernykh
2453c08194 SideChain: fixed use-after-free in precalc code 2023-09-06 10:05:55 +02:00
SChernykh
f149613d54 Removed unnecessary async call 2023-09-04 20:38:01 +02:00
SChernykh
2c5cfb6442 Fixed data races when using uv_async_send 2023-09-04 19:33:31 +02:00
SChernykh
cfddaf1508 TCPServer: added thread check on connection close 2023-09-03 23:17:04 +02:00
SChernykh
2584799415 TCPServer: fixed ASAN code 2023-09-03 17:13:22 +02:00
SChernykh
c2704af523 Sync test: increased countdown length 2023-09-03 14:35:12 +02:00
SChernykh
328e9cade9 SideChain: fixed read from uninitialized buffer 2023-09-03 14:16:09 +02:00
SChernykh
d8bbe2110e P2PServer: fixed a data race when banning peers 2023-09-03 13:15:45 +02:00
SChernykh
1ef88622d6 p2pool v3.6.2 2023-09-03 09:49:31 +02:00
SChernykh
fcf9d2ad15 p2pool v3.6.1 2023-09-01 12:39:07 +02:00
SChernykh
7986321a52 Fixed console commands startup 2023-08-31 17:50:31 +02:00
SChernykh
8e0f28ee30 Fixed Windows 7 compatibility 2023-08-31 16:21:59 +02:00
SChernykh
fecfa18999 p2pool v3.6 2023-08-31 10:32:34 +02:00
SChernykh
936d3b5280 Added quick self-test 2023-08-23 17:01:01 +02:00
SChernykh
31ce134413 Fixed INVALID SHARE log color 2023-08-21 21:24:04 +02:00
SChernykh
1069d1c066 Fixed cppcheck error 2023-08-21 11:20:50 +02:00
SChernykh
bc0634a541 RandomX: try to recover after an error 2023-08-21 11:01:57 +02:00
SChernykh
8d65a99fe4 Fixed data race 2023-08-18 21:57:51 +02:00
SChernykh
f3045a5e80 Fixed possible thread handle leak 2023-08-17 10:16:51 +02:00