SChernykh
60a8538e0c
P2PServer: show an error when there are no ZMQ messages
3 years ago
SChernykh
77a3a5857c
P2PServer: show an error when there are no connections
3 years ago
SChernykh
af2a8eeb08
Tweaked warning level for lagging nodes
3 years ago
SChernykh
54d0ab3658
Move most block broadcasts to log level 6
3 years ago
SChernykh
c9faa92098
StratumServer: fixed "bad share" ban logic
3 years ago
SChernykh
52e5008bf4
Refactoring
...
- Skip calling time(nullptr) twice
- Use getter method for m_api instead of exposing it
- Moved api_udate_*() back to private since they're not used anywhere else
3 years ago
SChernykh
a0a31b0f3b
Merge pull request #51 from Tonux599/stratumServerJson-staging
...
API for stratum server statistics.
3 years ago
Thomas Clarke
7742d163f7
API for stratum server statistics.
...
Users can pass `--stratum-api` to command line to enable a file called `local/stats` in `--data-api` directory. `local/stats` contains statistics that `StratumServer status` provides but in JSON format. It is currently setup that `local/stats` is updated each time a new job is sent to a worker.
3 years ago
SChernykh
7d66864b01
Print P2Pool version
3 years ago
SChernykh
2a3cd13b19
P2PServer: delete old cached blocks after initial sync
...
Saves ~20 MB of memory
3 years ago
SChernykh
4bcaa41c8e
Clear crypto derivation/key cache when a block is found
3 years ago
SChernykh
4fce76576f
ZMQ reader: abort if connect to monerod failed
3 years ago
SChernykh
f05f7c4268
Fixed wrong nonce values in submit_block error log
3 years ago
SChernykh
ae8733c187
Update RandomX
3 years ago
SChernykh
5c92920619
Default log level 3
...
Also refactored default port numbers
3 years ago
SChernykh
b4ea125a8a
Hardcode default consensus ID for faster startup
3 years ago
SChernykh
8aa9e54dc4
BlockTemplate: wait for 10 seconds before including new transactions
3 years ago
SChernykh
b35b4a9f76
Crypto: added cache for faster key derivation
3 years ago
SChernykh
ba6a2c8eb2
P2PServer: relax stale block restriction
3 years ago
SChernykh
14e26f5c17
Fix: always check before closing TCP handles
3 years ago
SChernykh
4c5144b37f
Check monerod RPC version at startup
3 years ago
SChernykh
42dd58d778
P2PServer: check broadcasts for wrong height
3 years ago
SChernykh
da0f376bef
P2PServer: ban peers that don't broadcast blocks
3 years ago
SChernykh
0d439e7712
SideChain: submit blocks to monerod in more cases
3 years ago
SChernykh
b8f04ac787
Tweaked block broadcast rules
3 years ago
WeebDataHoarder
7bad1e05a4
Implemented shares/uncles position chart on status command
...
Shows progress in slices of PPNLS window. Shares move left to right as they age.
A dot "." indicates no shares, 1-9 for that number in shares, for 9+ it shows a "+".
Will not show shares or uncles lines unless you have one on window.
3 years ago
SChernykh
74096248e1
Better error handling of Monero RPC requests
3 years ago
SChernykh
36ee76d4d2
data api: fixed one block missing to calculate effort
3 years ago
SChernykh
3aa270a072
Fix for older compilers
3 years ago
SChernykh
7a97171b03
Tweaked block broadcast rules
3 years ago
SChernykh
52f195b89f
Tweaked idle peer detection
3 years ago
SChernykh
ee7a1e54f7
DNS name resolution for command line parameters
3 years ago
SChernykh
c8a2a256e7
Fixed RandomX VM initialization
3 years ago
SChernykh
57bc38d2bb
data api: added stats_mod
3 years ago
SChernykh
a332ac7d26
P2PServer: load peers from DNS
3 years ago
SChernykh
7ea1913a9d
Update log.h
3 years ago
SChernykh
73c8b1294a
P2PServer: connect to peers from the event loop thread
...
Better thread safety
3 years ago
SChernykh
ce8ec3860d
Fixed memory leak
3 years ago
SChernykh
25772abc0f
Show block share % in status
3 years ago
SChernykh
899d5a82dd
data api: check p2pool shares that come after a Monero block
3 years ago
SChernykh
7b0cc256c5
P2PServer: ban peers that disconnect without finishing handshake
3 years ago
SChernykh
d3dc4c731f
Added more tests
3 years ago
SChernykh
e264377f0e
Added more checks
3 years ago
SChernykh
a36825424b
Fixed some Coverity reports
3 years ago
SChernykh
2ecd935bc5
data api: fixed saving of p2pool.blocks
3 years ago
SChernykh
f3b6423d4c
Log difficulty for found pool shares
3 years ago
SChernykh
82a88ce0ef
data api: added block hashes to pool/blocks
3 years ago
SChernykh
884d0f180a
TCP server: log IP addresses in more places
3 years ago
SChernykh
f3ee444aed
Stratum server: log IP addresses that send bad data
3 years ago
SChernykh
dd0a35fb79
Show pool-side hashrate in status only when it's not zero
3 years ago