Commit Graph

48 Commits (37b6457054f83133e9ecb15f739c7876d515d98f)

Author SHA1 Message Date
SChernykh 37b6457054 Show worker hashrate only when autodiff is on
2 years ago
SChernykh edd782ac23 Fixed custom worker names
2 years ago
SChernykh 134f2d68a3 Fixed data races
2 years ago
SChernykh d23c46ff84 Added bsr() function to util
2 years ago
SChernykh 990916ab62 StratumServer: added autodiff
2 years ago
SChernykh d4e362cd76 TCPServer: optimized Client struct size
2 years ago
SChernykh 1dd06cc509 Removed std::string to avoid memory allocation
2 years ago
SChernykh 2e2bd1d137 Added log padding
2 years ago
SChernykh 0818d91f4f StratumServer: added console command `workers`
2 years ago
SChernykh 1a35177633 Fixed unsafe usage of log::Stream buffers
2 years ago
SChernykh a2afa29052 Updated copyright
2 years ago
SChernykh aada1bb5cc Use chrono::steady_clock for internal timestamps
2 years ago
SChernykh c21d052d7a Refactored RNG usage across the code
2 years ago
SChernykh cc6ce4a366 Reset stratum share counters after initial sync
2 years ago
SChernykh 9f449320b5 StartumServer: disconnect and ban inactive clients
2 years ago
SChernykh f9def6cb73 Added "calc_pow" RPC support
3 years ago
SChernykh 352ad81a0a StratumServer: faster processing of regular shares
3 years ago
SChernykh 9885f82e9e Limit user name length to 64 characters
3 years ago
WeebDataHoarder bc341918f6 Decode custom user from stratum client, display stratum client+user on SHARE FOUND and client mainchain found message
3 years ago
SChernykh 9e90e988fa Refactored array_size to make it always constexpr
3 years ago
SChernykh f3024d3556 StratumServer: submit Monero block as soon as possible
3 years ago
SChernykh c9faa92098 StratumServer: fixed "bad share" ban logic
3 years ago
SChernykh 52e5008bf4 Refactoring
3 years ago
Thomas Clarke 7742d163f7
API for stratum server statistics.
3 years ago
SChernykh 5c92920619 Default log level 3
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
3 years ago
SChernykh 0be078cb09 StartumServer: moved warnings to log level 4
3 years ago
SChernykh 3f1ee9ce4b TCPServer fixes
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
3 years ago
SChernykh 6d3cfa2c7a Couple more sanity checks
3 years ago
SChernykh 510b7dbb85 Add files
3 years ago