SChernykh
dd0a35fb79
Show pool-side hashrate in status only when it's not zero
2021-09-05 15:56:50 +02:00
SChernykh
b17723f1e4
Removed unused code
2021-09-05 00:07:03 +02:00
SChernykh
661d596107
api: store difficulty and totalHashes for each block
2021-09-03 18:04:54 +02:00
SChernykh
fbdef7d058
Count all miners that were active in last 24 hours
2021-09-01 20:48:03 +02:00
SChernykh
73da71a2d3
Renamed next payout to block reward share
2021-09-01 16:34:10 +02:00
SChernykh
533cc202d2
Added pool stats
2021-09-01 16:28:05 +02:00
SChernykh
e44919c289
Changed pool name for the new test
2021-08-31 17:25:01 +02:00
SChernykh
780afd84a2
Added checks for tx keys
2021-08-31 17:23:20 +02:00
SChernykh
d1e94d6e1a
StartumServer: print average hashrate in status
2021-08-30 16:51:23 +02:00
SChernykh
519b4b548d
Relax JSON parsing
...
Allow comments and trailing commas
2021-08-29 08:39:17 +02:00
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