SChernykh
f5ac485ac8
TCPServer: optimized internal write buffers
1 year ago
SChernykh
4ee8890166
Fixed `status` command output
1 year ago
SChernykh
451778d704
Optimized RNG usage
1 year ago
SChernykh
d4329ae594
Show file:line where panic() was called from
1 year ago
SChernykh
8e7df958b8
Use extra_nonce to signal hardfork readiness
1 year ago
SChernykh
ccc5117172
Track shares that failed to be added
1 year ago
SChernykh
b346b93285
Updated copyright
1 year ago
SChernykh
7502481f26
Fixed cppcheck issues
1 year ago
SChernykh
15d25bca27
Fixed data race
1 year ago
SChernykh
a61966ed61
Don't count shares that were found during sync
1 year ago
SChernykh
2e747beda6
Added sidechain height to SHARE FOUND log
2 years ago
SChernykh
19414b061b
Refactored BackgroundJobTracker
2 years ago
SChernykh
a917a9493c
Randomize extra_nonce
...
To guarantee that hashing blobs will be different between different p2pool nodes, even if they mine to the same wallet address and don't have transactions to shuffle within the block template.
2 years ago
SChernykh
fd6b2360aa
Fix: uv_close was called from wrong thread
2 years ago
SChernykh
947178f10a
StratumServer: improved warning message
2 years ago
SChernykh
86156f3fec
SOCKS5 proxy support
2 years ago
SChernykh
cc60ab3d63
StratumServer: added scoring system for clients
...
Ban clients only after a few bad shares without good shares compensating them.
2 years ago
SChernykh
340a3e85c8
Fixed autodiff when running for a long time
...
16-bit wrap around wasn't processed correctly
2 years ago
SChernykh
14bbf96feb
Enforce deterministic tx keys starting from v15
2 years ago
SChernykh
a281db1cbb
Fixed unaligned read
2 years ago
SChernykh
b25e5449c8
Fixed rare "low diff share" errors
2 years ago
SChernykh
b267c19a45
Limit autodiff to 4M for max compatibility
2 years ago
SChernykh
8b681d6efb
Added memory hooks for CURL
2 years ago
SChernykh
6ef34bb3f5
Enabled more compiler warnings
2 years ago
SChernykh
0e222afd6a
Exit if server startup fails
2 years ago
SChernykh
8f1f81749d
StratumServer: reset cumulative hashes too
2 years ago
SChernykh
ae3612f595
Fixed worker diff display when autodiff is off
2 years ago
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
...
Autodiff is enabled by default, target time is 30 seconds. It can be disabled with `--no-autodiff` command line option.
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
...
Also avoid creating temporary strings (`" user " + client->m_customUser`) when logging user name
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
...
1-3 ms saved when a block is found
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