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
5c92920619
Default log level 3
...
Also refactored default port numbers
3 years ago
SChernykh
f3b6423d4c
Log difficulty for found pool shares
3 years ago
SChernykh
f3ee444aed
Stratum server: log IP addresses that send bad data
3 years ago
SChernykh
b31adbd5ae
Added macOS build
3 years ago
SChernykh
1554a44f5c
Added more integrity checks
3 years ago
SChernykh
5f406a60a6
StratumServer: added keepalived method
3 years ago
SChernykh
0558cdb9cc
Fixed share effort calculation
3 years ago
SChernykh
7364292ece
Fixed average effort calculation
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
541b3c653d
Enable 4-byte target format for diff up to 4 million
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
0be078cb09
StartumServer: moved warnings to log level 4
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
a38a7be73f
p2pool: submit block from the main thread only
3 years ago
SChernykh
9808685981
Update stratum_server.cpp
3 years ago
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
3 years ago
SChernykh
6d3cfa2c7a
Couple more sanity checks
3 years ago
SChernykh
510b7dbb85
Add files
3 years ago