SChernykh
5d6fa03f11
Show all Monero block rewards in log
3 years ago
SChernykh
75843e9b37
P2PServer: don't broadcast stale blocks
3 years ago
SChernykh
1a83610299
P2PServer: simplified the code a bit
3 years ago
SChernykh
5f406a60a6
StratumServer: added keepalived method
3 years ago
SChernykh
5eea610f3c
Stricter wallet address checks
3 years ago
SChernykh
e44919c289
Changed pool name for the new test
3 years ago
SChernykh
780afd84a2
Added checks for tx keys
3 years ago
SChernykh
0558cdb9cc
Fixed share effort calculation
3 years ago
SChernykh
7364292ece
Fixed average effort calculation
3 years ago
SChernykh
662a7e91c8
P2PServer: always ban IPs that send bad blocks
3 years ago
SChernykh
8064865ba5
Fixed setting max log level from command line
3 years ago
SChernykh
7b197824fe
P2PServer: add peers from the command line to the peer list on startup
3 years ago
SChernykh
114f6b627b
P2PServer: don't allow multiple connections to/from the same IP
3 years ago
SChernykh
4757cdb8e2
P2PServer: added 1 second grace time for stale shares
...
Only for shares that lag 1 Monero block behind
3 years ago
SChernykh
bb8ff24db8
StratumServer: added avg effort and number of shares to status
3 years ago
SChernykh
4ac08ac10d
StratumServer: print current effort in status
3 years ago
SChernykh
891ee36e53
Force update average hashrates when print_status() is called
3 years ago
SChernykh
d1e94d6e1a
StartumServer: print average hashrate in status
3 years ago
SChernykh
a2f6e73122
JSONRPCRequest: more informative error messages
3 years ago
SChernykh
9120b86007
Fixed use of out of scope variable
3 years ago
SChernykh
bb7720968f
Tweaked log levels
3 years ago
SChernykh
dac74a8829
Update p2p_server.cpp
3 years ago
SChernykh
dd9166e91c
Update dataset at normal thread priority
3 years ago
SChernykh
456f5d356f
P2PServer: ban peers only after handshake finished and failed
3 years ago
SChernykh
541b3c653d
Enable 4-byte target format for diff up to 4 million
3 years ago
SChernykh
519b4b548d
Relax JSON parsing
...
Allow comments and trailing commas
3 years ago
SChernykh
8e29abd906
Small fixes
3 years ago
SChernykh
8a26498b66
Tweaked log levels
3 years ago
SChernykh
ff4d89868b
StratumServer: Use short target format (4 bytes) for diff <= ~2 million
3 years ago
SChernykh
4175f4c8bc
StratumServer: ban clients that send incorrect shares
3 years ago
SChernykh
9e438210d1
StratumServer: support custom fixed difficulty
...
Example (set fixed difficulty 10000)
`"user":"x+10000"` in config.json or
`-u x+10000` in command line
3 years ago
SChernykh
46ce4ebee7
check_pow: fixed carry calculation
3 years ago
SChernykh
0be078cb09
StartumServer: moved warnings to log level 4
3 years ago
SChernykh
14bb308794
P2PServer: clear m_missingBlockRequests when there is nothing missing
3 years ago
SChernykh
f9be0de8d2
P2PServer: ask peers about unknown blocks only once
3 years ago
SChernykh
81a12158fc
P2PServer: don't add banned peers back to the peer list
3 years ago
SChernykh
8304d81961
Prepare for mainnet test
3 years ago
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
3 years ago
SChernykh
afca83d6c2
BlockCache: check block size before storing it
3 years ago
SChernykh
2761ce5af7
Fixed a leak in ZMQReader
3 years ago
SChernykh
776b1f561c
Fixed use after free on p2pool shutdown
3 years ago
SChernykh
715c0d4e14
Reduced cache size a bit
3 years ago
SChernykh
3ea71d51e5
Fixed crash on startup
3 years ago
SChernykh
f77e0434c6
Fixed TCPServer startup
3 years ago
SChernykh
3f1ee9ce4b
TCPServer fixes
...
- Proper shutdown sequence, uv_close() must be called from the event loop thread
- Moved start_listening() to child class constructor because it must be ready before it can listen on sockets
- Added simple memory leak detector for Windows. Linux users can enjoy the leak sanitizer
3 years ago
SChernykh
27e85a922b
TCPServer: fixed more leaks on shutdown
3 years ago
SChernykh
4ba32277c1
Use p2pool-api branch for Monero
3 years ago
SChernykh
37f3312e1d
Submit received p2pool blocks to monerod when possible
3 years ago
SChernykh
125815b502
Made print_status() thread-safe
3 years ago
SChernykh
63e442dffd
print_status: fixed next payout display
3 years ago