SChernykh
0869326f39
SideChain: count miners in the last 48 hours
3 years ago
SChernykh
75d62c0303
SideChain: cleanup m_seenBlocks when pruning old blocks
3 years ago
SChernykh
da4686b88f
ZMQReader: start after initial RPC calls are finished
3 years ago
SChernykh
a008eac8c6
ZMQReader: more reliable connect()
3 years ago
SChernykh
3d60ae8c32
Fix: don't start until monerod is fully synchronized
3 years ago
SChernykh
88f346414a
Fixed race condition when using --no-color
3 years ago
SChernykh
2071a24a9f
Update version
3 years ago
SChernykh
1c0da4513f
Added `--no-color` command line option
...
`--no-color` disables colors in console output
3 years ago
SChernykh
6a002cda46
Create msvc-analysis.yml
3 years ago
SChernykh
c0c210664a
Show uptime in status
3 years ago
SChernykh
6859d11445
Disable console quick-edit mode on Windows
...
Prevent user from accidentally selecting text in console and freezing all output
3 years ago
SChernykh
111324b6e0
Added console command to show connected peers
3 years ago
SChernykh
148b9dd294
Switch to faster unordered_map/set
3 years ago
SChernykh
04d18cdf1d
P2PServer: fixed m_timer leak
3 years ago
SChernykh
352ad81a0a
StratumServer: faster processing of regular shares
3 years ago
SChernykh
d26902468d
P2PServer: peer list tweaks
...
- Increase outgoing connections to 10
- Stricter handling of peer list responses
3 years ago
SChernykh
0382027d70
Fixed wrong error message
3 years ago
SChernykh
966b499e5c
ZMQReader: keep trying to connect on startup
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
f17c23528a
Update version
3 years ago
SChernykh
a06f4dcdcd
P2PServer: fixed ever growing memory usage
3 years ago
SChernykh
816a29c5ab
Added `--no-cache` command line parameter
3 years ago
SChernykh
285560e120
Fixed possible sidechain split during RandomX epoch change
3 years ago
SChernykh
39ba5c4131
P2PServer: check for messages that shouldn't be sent
3 years ago
SChernykh
9b86f8e81f
Peer list refactoring
...
- Remove peers that weren't seen for > 1 hour
- Better peer selection algorithm for PEER_LIST_RESPONSE
3 years ago
SChernykh
9e90e988fa
Refactored array_size to make it always constexpr
3 years ago
SChernykh
39b2167c98
Show correct max log level in usage
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
61ac90f1d5
Fixed typo
3 years ago
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