SChernykh
dffc8bcea0
Fixed cppcheck issues
1 year ago
SChernykh
d8bb85a1d8
Fix: api didn't always save total hashes
2 years ago
SChernykh
6a66615f37
Removed redundant m_mainChainData
2 years ago
SChernykh
86156f3fec
SOCKS5 proxy support
2 years ago
SChernykh
3c697c2d7e
Fixed potential deadlock
...
Can't lock `m_minerLock` inside SideChain update
2 years ago
SChernykh
deaf47155f
Miner: reset share counter when synchronized
2 years ago
SChernykh
05b0973a23
More reliable p2pool shutdown logic
2 years ago
SChernykh
5cea7be405
Allow only one pending get_miner_data
2 years ago
SChernykh
710e55422a
Ignore duplicate get_miner_data
2 years ago
SChernykh
6c6ef1c1b8
Restart ZMQ connection if it looks dead
2 years ago
SChernykh
2a77695832
Fixed data races in miner
2 years ago
SChernykh
7522111bb7
Fixed data races
2 years ago
SChernykh
a2afa29052
Updated copyright
2 years ago
SChernykh
aada1bb5cc
Use chrono::steady_clock for internal timestamps
2 years ago
SChernykh
62b1690780
Added an option to disable RandomX for the build
2 years ago
SChernykh
e2931f94b5
Added embedded miner
2 years ago
SChernykh
f9def6cb73
Added "calc_pow" RPC support
3 years ago
SChernykh
113e39817d
Cleanup old Monero blocks data
3 years ago
SChernykh
da4686b88f
ZMQReader: start after initial RPC calls are finished
3 years ago
SChernykh
6a002cda46
Create msvc-analysis.yml
3 years ago
SChernykh
c0c210664a
Show uptime in status
3 years ago
SChernykh
148b9dd294
Switch to faster unordered_map/set
3 years ago
SChernykh
60a8538e0c
P2PServer: show an error when there are no ZMQ messages
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
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
4c5144b37f
Check monerod RPC version at startup
3 years ago
SChernykh
0d439e7712
SideChain: submit blocks to monerod in more cases
3 years ago
SChernykh
74096248e1
Better error handling of Monero RPC requests
3 years ago
SChernykh
57bc38d2bb
data api: added stats_mod
3 years ago
SChernykh
899d5a82dd
data api: check p2pool shares that come after a Monero block
3 years ago
SChernykh
82a88ce0ef
data api: added block hashes to pool/blocks
3 years ago
SChernykh
661d596107
api: store difficulty and totalHashes for each block
3 years ago
SChernykh
e1b4649c2a
Added pool blocks
3 years ago
SChernykh
533cc202d2
Added pool stats
3 years ago
SChernykh
295cbda449
p2pool: export data to an external web-server
...
Dumps data to JSON files which can be later served by a web-server.
3 years ago
SChernykh
27c2aab145
Check network type at startup
...
- Make network type part of consensus ID to avoid mixing p2pool nodes from mainnet and testnet/stagenet
- Check that wallet address matches the network type of monerod
3 years ago
SChernykh
776b1f561c
Fixed use after free on p2pool shutdown
3 years ago
SChernykh
37f3312e1d
Submit received p2pool blocks to monerod when possible
3 years ago
SChernykh
a38a7be73f
p2pool: submit block from the main thread only
3 years ago
SChernykh
d8efb27374
Restrict uv_default_loop() to main thread
3 years ago
Howard Chu
0dc3baa480
Tweak command handling
...
Modularize, add help and exit commands.
Fix shutdown_tcp() and p2pool to make sure servers exit immediately
when terminating.
3 years ago
SChernykh
510b7dbb85
Add files
3 years ago