Commit graph

149 commits

Author SHA1 Message Date
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
950330b5f7 SideChain: recover from incorrect PoW calculation 2023-06-14 11:22:55 +02:00
SChernykh
ee16ce10c1 Tweaked block_seen logic 2023-05-31 17:03:45 +02:00
SChernykh
9d6f232dd1 Tweaked block_seen logic 2023-05-29 14:13:11 +02:00
SChernykh
3fdadf3eb5 Fixed cppcheck errors 2023-05-23 20:11:00 +02:00
SChernykh
eab8a51bb7 SideChain: tweaked m_seenBlocks cleanup logic 2023-05-22 15:30:57 +02:00
SChernykh
6a4583f758 Sync test: keep running for 2 minutes more 2023-05-18 00:28:49 +02:00
SChernykh
be8b38e5cf Changed BLOCK_FOUND wording 2023-05-11 08:07:05 +02:00
SChernykh
98b2d2057c SideChain: fixed data race 2023-04-24 20:23:45 +02:00
SChernykh
b498084388 SideChain: fixed a rare sync bug
P2Pool could fail to sync if uncles of depth 3 were present at a certain depth in the chain
2023-04-22 19:01:17 +02:00
SChernykh
75c156578c SideChain: tweaked precalculation during sync 2023-04-22 18:00:31 +02:00
SChernykh
f6a285de87 API: added PPLNS window size to pool stats 2023-03-28 13:53:52 +02:00
SChernykh
bb80fe12a0 Added a check for unstable hardware 2023-03-28 10:27:27 +02:00
SChernykh
645de31fe3 SideChain: stricter checks in get_difficulty 2023-03-24 13:26:30 +01:00
SChernykh
eef90da7ae SideChain: stricter checks of alternative chains 2023-03-24 11:50:39 +01:00
SChernykh
b30018bb38 SideChain::update_depths() - reduced log level 2023-03-21 16:22:11 +01:00
SChernykh
6c45573976 Faster block verification 2023-03-21 14:13:47 +01:00
SChernykh
c2d8c806d2 Removed fork code, only v2 is left 2023-03-19 17:19:25 +01:00
SChernykh
1b5860eec8 Fixed cppcheck errors 2023-03-06 14:52:47 +01:00
SChernykh
25d083ef25 Show Monero node in status 2023-01-27 17:42:00 +01:00
SChernykh
8876af53d8 SideChain: fixed potential division by 0 2023-01-26 21:42:15 +01:00
SChernykh
d332f6cf23 Fixed PPLNS window display in status 2023-01-21 23:09:57 +01:00
SChernykh
420cb71990 Fixed min difficulty setting 2023-01-18 16:16:35 +01:00
SChernykh
fe5e209eb1 Don't limit min difficulty on testnet 2023-01-16 18:34:48 +01:00
SChernykh
f206e4b334 Testnet fork on January 21st 2023-01-16 15:36:21 +01:00
SChernykh
5bd518da4b Optimized BlockTemplate::update() 2023-01-16 11:17:41 +01:00
SChernykh
ec8e40907d Fixed a crash in status command 2023-01-15 22:20:06 +01:00
SChernykh
e828709090 Optimized SideChain::get_outputs_blob() 2023-01-15 22:00:44 +01:00
SChernykh
d4329ae594 Show file:line where panic() was called from 2023-01-14 12:37:08 +01:00
SChernykh
14f667de74 Support dynamic PPLNS window in status 2023-01-13 17:43:56 +01:00
SChernykh
4f2ad9a93c Optimized get_shares 2023-01-10 22:17:17 +01:00
SChernykh
47f551c046 Randomize output order for P2Pool payouts 2023-01-09 20:07:11 +01:00
SChernykh
ae6747c82d Initialize tx key from previous blocks 2023-01-09 16:14:33 +01:00
SChernykh
11e4c459c9 pub/sec tx key cleanup 2023-01-09 01:15:06 +01:00
SChernykh
647319b731 Added missing check to update_chain_tip 2023-01-09 00:33:37 +01:00
SChernykh
632f3faac5 Refactored keccak interface
- Allow calculating keccak hash in steps
- Only allow 32 and 200 byte final hashes
2023-01-08 13:06:20 +01:00
SChernykh
4f34c4466a Dynamic PPLNS window 2023-01-08 00:47:03 +01:00
SChernykh
ccc5117172 Track shares that failed to be added 2023-01-07 15:50:02 +01:00
SChernykh
b346b93285 Updated copyright 2023-01-04 13:07:55 +01:00
SChernykh
dffc8bcea0 Fixed cppcheck issues 2022-12-22 14:08:49 +01:00
SChernykh
e6d77a40e2 Check block major version in deserialize() 2022-12-19 10:29:29 +01:00
SChernykh
be18ad4177 Made payout messages more visible 2022-12-18 11:06:38 +01:00
SChernykh
9283677a2b Sync test: log more data in the end 2022-11-24 11:06:18 +01:00
SChernykh
d4180a5084 Fixed Coverity issue 2022-11-24 08:43:13 +01:00
SChernykh
f1ff6a21ee Revert "Broadcast uncle blocks at the same height"
This reverts commit 530079b8a5.
2022-11-23 17:59:28 +01:00
SChernykh
530079b8a5 Broadcast uncle blocks at the same height
To reduce orphan block rate
2022-11-23 17:55:11 +01:00
SChernykh
79a31ce57c SideChain: reduce lock scope in get_outputs_blob 2022-11-16 14:23:13 +01:00
SChernykh
488ed8e562 Added more 128 bit calculations 2022-11-16 10:36:46 +01:00
SChernykh
b3bce1651b SideChain: use full 128 bits in get_difficulty 2022-11-15 16:39:39 +01:00
SChernykh
53ba29b288 Optimized crypto cache memory allocation 2022-11-13 17:30:47 +01:00