SChernykh
d3dc4c731f
Added more tests
2021-09-06 15:49:39 +02:00
SChernykh
a36825424b
Fixed some Coverity reports
2021-09-06 09:02:35 +02:00
SChernykh
2ecd935bc5
data api: fixed saving of p2pool.blocks
2021-09-05 23:05:36 +02:00
SChernykh
82a88ce0ef
data api: added block hashes to pool/blocks
2021-09-05 22:28:57 +02:00
SChernykh
b31adbd5ae
Added macOS build
2021-09-05 12:10:40 +02:00
SChernykh
08d2fbdbd1
Parse full 128-bit difficulty from monerod
2021-09-03 22:45:55 +02:00
SChernykh
661d596107
api: store difficulty and totalHashes for each block
2021-09-03 18:04:54 +02:00
SChernykh
b26c4616d7
Fixed wrong diff in api/network/stats
2021-09-02 23:39:47 +02:00
SChernykh
bab148fbad
Added cppcheck scripts
2021-09-02 12:35:36 +02:00
SChernykh
55f8e9dc33
Added total blocks found
2021-09-02 09:02:24 +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
5d6fa03f11
Show all Monero block rewards in log
2021-09-01 10:43:10 +02:00
SChernykh
5eea610f3c
Stricter wallet address checks
2021-08-31 18:26:28 +02:00
SChernykh
4757cdb8e2
P2PServer: added 1 second grace time for stale shares
...
Only for shares that lag 1 Monero block behind
2021-08-31 09:58:57 +02:00
SChernykh
9120b86007
Fixed use of out of scope variable
2021-08-30 01:21:46 +02:00
SChernykh
519b4b548d
Relax JSON parsing
...
Allow comments and trailing commas
2021-08-29 08:39:17 +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
0009eba307
Fix RandomX startup logic
...
Ensure that both RandomX caches initialize before stratum and p2p servers start.
2021-08-25 18:31:42 +02:00
SChernykh
a38a7be73f
p2pool: submit block from the main thread only
2021-08-25 12:45:14 +02:00
SChernykh
8f93adf7a1
Refactored signal handler
...
Call the same stop() function as regular exit command
2021-08-25 12:28:15 +02:00
SChernykh
d8efb27374
Restrict uv_default_loop() to main thread
2021-08-25 12:17:14 +02:00
SChernykh
90a977228b
Merge pull request #2 from hyc/cmds
...
Tweak command handling
2021-08-24 14:37:03 +03: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
bf5db3db08
Update p2pool.cpp
2021-08-24 12:01:43 +02:00
SChernykh
3229909333
Update p2pool.cpp
2021-08-24 11:59:59 +02:00
SChernykh
aba3bc50b8
Block cache WIP and other fixes
...
- Block cache is implemented only on Windows for now
- Tracking of background jobs
- More robust sidechain syncing
2021-08-24 11:42:41 +02:00
SChernykh
656f912a3e
Workaround for crashes on shutdown
2021-08-23 22:50:36 +02:00
SChernykh
39a8c68ab7
More clang fixes
2021-08-23 11:44:26 +02:00
SChernykh
510b7dbb85
Add files
2021-08-22 12:20:59 +02:00