Commit graph

162 commits

Author SHA1 Message Date
SChernykh
1069d1c066 Fixed cppcheck error 2023-08-21 11:20:50 +02:00
SChernykh
8d65a99fe4 Fixed data race 2023-08-18 21:57:51 +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
2877e5dfc1 Sync test: log stratum data when finished 2023-08-15 11:43:05 +02:00
SChernykh
2ddb03e2be CI: tweaked memory leak output formatting 2023-07-19 16:15:48 +02:00
SChernykh
0f88640575 CI: added sync test with memory leak detection 2023-07-19 13:59:57 +02:00
SChernykh
32dc235aa5 SideChain: fix for out of order blocks 2023-07-12 00:25:37 +02:00
SChernykh
a7f66c8883 SideChain: filter duplicates from missing blocks 2023-07-10 14:11:22 +02:00
SChernykh
fe2ff95f19 P2PServer: use BLOCK_NOTIFY to speed up syncing 2023-07-07 16:48:28 +02:00
SChernykh
df43e2c126 SideChain: tweaked precalc logic 2023-07-07 14:21:52 +02:00
SChernykh
d8ecc1174d P2PServer: refactored BLOCK_NOTIFY logic
- Limit how many block requests can be in flight
- Don't send requests for the same block twice
2023-07-07 12:14:24 +02:00
SChernykh
396479c2bf Fixed cppcheck errors 2023-07-02 13:10:05 +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
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