SChernykh
6c6ef1c1b8
Restart ZMQ connection if it looks dead
2022-05-11 13:50:47 +02:00
SChernykh
2a77695832
Fixed data races in miner
2022-04-09 18:25:12 +02:00
SChernykh
7522111bb7
Fixed data races
2022-04-09 00:38:15 +02:00
SChernykh
a2afa29052
Updated copyright
2022-03-30 14:42:26 +02:00
SChernykh
aada1bb5cc
Use chrono::steady_clock for internal timestamps
2022-03-23 11:30:38 +01:00
SChernykh
62b1690780
Added an option to disable RandomX for the build
2022-03-15 17:11:45 +01:00
SChernykh
e2931f94b5
Added embedded miner
2022-01-22 23:30:19 +01:00
SChernykh
f9def6cb73
Added "calc_pow" RPC support
2021-11-21 09:12:21 +01:00
SChernykh
113e39817d
Cleanup old Monero blocks data
2021-10-29 11:14:28 +02:00
SChernykh
da4686b88f
ZMQReader: start after initial RPC calls are finished
2021-10-28 20:05:40 +02:00
SChernykh
6a002cda46
Create msvc-analysis.yml
2021-10-27 16:06:36 +02:00
SChernykh
c0c210664a
Show uptime in status
2021-10-26 17:55:47 +02:00
SChernykh
148b9dd294
Switch to faster unordered_map/set
2021-10-22 18:34:20 +02:00
SChernykh
60a8538e0c
P2PServer: show an error when there are no ZMQ messages
2021-10-09 11:01:26 +02:00
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
2021-10-04 10:28:56 +02:00
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.
2021-10-03 22:32:13 +01:00
SChernykh
4c5144b37f
Check monerod RPC version at startup
2021-09-13 18:27:47 +02:00
SChernykh
0d439e7712
SideChain: submit blocks to monerod in more cases
2021-09-13 10:16:45 +02:00
SChernykh
74096248e1
Better error handling of Monero RPC requests
2021-09-10 16:18:16 +02:00
SChernykh
57bc38d2bb
data api: added stats_mod
2021-09-08 09:57:31 +02:00
SChernykh
899d5a82dd
data api: check p2pool shares that come after a Monero block
2021-09-06 23:33:52 +02:00
SChernykh
82a88ce0ef
data api: added block hashes to pool/blocks
2021-09-05 22:28:57 +02:00
SChernykh
661d596107
api: store difficulty and totalHashes for each block
2021-09-03 18:04:54 +02:00
SChernykh
e1b4649c2a
Added pool blocks
2021-09-01 17:35:54 +02:00
SChernykh
533cc202d2
Added pool stats
2021-09-01 16:28:05 +02:00
SChernykh
295cbda449
p2pool: export data to an external web-server
...
Dumps data to JSON files which can be later served by a web-server.
2021-09-01 14:11:28 +02:00
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
2021-08-27 11:25:25 +02:00
SChernykh
776b1f561c
Fixed use after free on p2pool shutdown
2021-08-27 10:13:33 +02:00
SChernykh
37f3312e1d
Submit received p2pool blocks to monerod when possible
2021-08-25 22:07:42 +02:00
SChernykh
a38a7be73f
p2pool: submit block from the main thread only
2021-08-25 12:45:14 +02:00
SChernykh
d8efb27374
Restrict uv_default_loop() to main thread
2021-08-25 12:17:14 +02:00
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.
2021-08-24 11:55:59 +01:00
SChernykh
510b7dbb85
Add files
2021-08-22 12:20:59 +02:00