SChernykh
6e258bb210
Refactored TCPServer to reduce code duplication
1 year ago
SChernykh
d4329ae594
Show file:line where panic() was called from
1 year ago
SChernykh
2c4c2b8469
Fixed a rare crash on exit
1 year ago
SChernykh
1ad3fdfd46
Added more errors checks to p2pool_api
1 year ago
SChernykh
b346b93285
Updated copyright
1 year ago
SChernykh
6615fa67f5
API: fixed error messages
2 years ago
SChernykh
dc4b88d08e
API: use unique temp file names
2 years ago
SChernykh
4599d81a59
API: save to temp file first and then rename it
2 years ago
SChernykh
2aa8d2bdcc
Code cleanup
2 years ago
SChernykh
cb147773b5
Updated cppcheck workflow on Linux
2 years ago
SChernykh
a2afa29052
Updated copyright
2 years ago
SChernykh
148b9dd294
Switch to faster unordered_map/set
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
57bc38d2bb
data api: added stats_mod
3 years ago
SChernykh
4deef2f807
Added cppcheck workflow
3 years ago
SChernykh
e527b0c660
Added Windows builds
3 years ago
SChernykh
661d596107
api: store difficulty and totalHashes for each block
3 years ago
SChernykh
bab148fbad
Added cppcheck scripts
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