SChernykh
8e29abd906
Small fixes
2021-08-29 00:13:53 +02:00
SChernykh
8a26498b66
Tweaked log levels
2021-08-28 23:34:46 +02:00
SChernykh
8304d81961
Prepare for mainnet test
2021-08-27 11:30:03 +02:00
SChernykh
27c2aab145
Check network type at startup
...
- Make network type part of consensus ID to avoid mixing p2pool nodes from mainnet and testnet/stagenet
- Check that wallet address matches the network type of monerod
2021-08-27 11:25:25 +02:00
SChernykh
3ea71d51e5
Fixed crash on startup
2021-08-27 00:41:09 +02:00
SChernykh
37f3312e1d
Submit received p2pool blocks to monerod when possible
2021-08-25 22:07:42 +02:00
SChernykh
125815b502
Made print_status() thread-safe
2021-08-25 21:00:06 +02:00
SChernykh
63e442dffd
print_status: fixed next payout display
2021-08-25 18:52:09 +02:00
SChernykh
662865ad70
Reduced startup spam at log levels <= 5
2021-08-25 15:01:05 +02:00
SChernykh
336349e189
Show hashrate estimate in status
2021-08-25 11:13:38 +02:00
SChernykh
8f2493edfc
Log message fixes
2021-08-25 09:52:06 +02:00
SChernykh
a27577f735
Added log level 6 to reduce spam on level 5
...
Log level 5 is still default
2021-08-25 09:38:47 +02:00
SChernykh
e4be4c1a66
Fixed pruning logic
...
- Erase an element from m_blocksByHeight only if it's empty
- Remove blocks from unconnected alternative chains too when they get old enough (4xPPLNS window)
2021-08-24 18:34:28 +02:00
SChernykh
69533fd209
Store only fully verified blocks in the cache
2021-08-24 13:46:38 +02:00
SChernykh
aba3bc50b8
Block cache WIP and other fixes
...
- Block cache is implemented only on Windows for now
- Tracking of background jobs
- More robust sidechain syncing
2021-08-24 11:42:41 +02:00
SChernykh
86b31ea821
Reduce broadcast spam after initial sync
2021-08-24 00:27:48 +02:00
SChernykh
6d3cfa2c7a
Couple more sanity checks
2021-08-23 23:08:46 +02:00
SChernykh
510b7dbb85
Add files
2021-08-22 12:20:59 +02:00