Commit graph

178 commits

Author SHA1 Message Date
SChernykh
ec15417fd2 More C++17 2024-01-05 14:36:35 +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
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
1f57e4f701 Reduced min difficulty for testing 2023-12-09 23:19:39 +01:00
SChernykh
fd20313d65 Merge branch 'master' into merge-mining 2023-10-31 14:10:27 +01:00
SChernykh
c59845e746 Fixed cppcheck errors 2023-10-29 09:43:22 +01:00
SChernykh
ec35c74e5f Init merge mining tag properly 2023-10-25 00:14:09 +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
2453c08194 SideChain: fixed use-after-free in precalc code 2023-09-06 10:05:55 +02:00
SChernykh
328e9cade9 SideChain: fixed read from uninitialized buffer 2023-09-03 14:16:09 +02:00
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