Commit Graph

170 Commits

Author SHA1 Message Date
SChernykh b5558baa4c More tests, code cleanup 2024-06-26 11:25:21 +02:00
SChernykh 5e8da4e672 Fixed merge mining with multiple chains 2024-06-11 18:40:30 +02:00
SChernykh a188ca7fad Fixed CI errors 2024-06-03 21:11:16 +02:00
SChernykh 9cd9055913 Print merge mining status 2024-06-03 17:31:18 +02:00
SChernykh 5e7d48e70c Fix: don't call update_block_template twice 2024-05-22 15:27:23 +02:00
SChernykh 2b7febf5d0 Fixed cppcheck error 2024-05-20 19:17:19 +02:00
SChernykh 710f6c2eb7 Submit merge mined blocks asynchronously 2024-05-20 15:22:03 +02:00
SChernykh f67009f133 Added path bitmap to get_merkle_proof 2024-05-10 15:34:30 +02:00
SChernykh e986e5dc2e Tari: Added coinbase_merkle_proof to pow_data 2024-05-10 13:56:28 +02:00
SChernykh d6364709ca Fixed cppcheck errors 2024-05-10 00:09:53 +02:00
SChernykh fd953a0b26 Tari: serialize pow_data WIP 2024-05-09 20:35:41 +02:00
SChernykh 52b7c4fb25 Merge branch 'master' into merge-mining 2024-03-07 18:42:45 +01:00
SChernykh 29d84e3bcf Fixed data race in tx mempool 2024-03-07 17:48:49 +01:00
SChernykh dbb21151b0 Tari: connect to a node and get unique_id 2024-02-15 17:47:05 +01:00
SChernykh 0801d607a1 Added gRPC library 2024-02-10 23:38:22 +01:00
SChernykh 9b15e8179f Merge mining client interface 2024-02-05 20:34:48 +01:00
SChernykh 2660d9dd0f Merge branch 'master' into merge-mining 2024-02-04 00:20:14 +01:00
SChernykh a92ca028b1 Exit early if command line is invalid 2024-02-04 00:19:37 +01:00
SChernykh f95d366881 Merge branch 'master' into merge-mining 2024-01-02 14:26:32 +01:00
SChernykh 1e1c3ad6e9 Updated copyright 2024-01-02 14:12:16 +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 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 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 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 5aff5f5796 Sync test: added merge mining 2023-11-17 19:36:21 +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 75bb046f22 Added merge mining RPC client
Basic code and one API call implemented
2023-11-01 19:52:19 +01:00
SChernykh fc31ac6cd0 Fixed Merkle tree root update 2023-10-25 22:54:25 +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 bc0634a541 RandomX: try to recover after an error 2023-08-21 11:01:57 +02:00
SChernykh 76c4573c39 CI: cleanup build warnings
Tests: fixed "unused const variable" warning
CMakeLists.txt: fixed deprecation warnings
2023-08-16 14:20:23 +02:00
SChernykh 375bf56e2e Fixed null characters in print_hosts output 2023-06-29 10:52:42 +02:00
SChernykh f79be1b343 Removed unnecessary lock 2023-06-27 17:09:58 +02:00
SChernykh 3759fd4ac4 Code cleanup 2023-06-22 09:26:05 +02:00
SChernykh 1b9d14e89d Get ping times for all hosts 2023-06-19 17:56:53 +02:00
SChernykh a9a2113ea4 Code cleanup 2023-06-18 16:47:31 +02:00
SChernykh b5fa34e1a1 Added support for multiple Monero hosts
Switch to the next host in list when P2Pool thinks current host is stuck or lagging
2023-06-18 12:56:27 +02:00
SChernykh 8b4f05dc78 CI: added clang-tidy 2023-06-14 14:40:12 +02:00
SChernykh b7ff4f2c2c Set default JSON parser flags 2023-06-12 15:29:23 +02:00
SChernykh 47c79459a6 Fixed get_miner_data error handling
Second call was a no-op because of `m_getMinerDataPending`
2023-06-10 14:49:33 +02:00
SChernykh a83d6deec1 Check node ping at startup 2023-05-18 10:33:27 +02:00