SChernykh
0b544bf55a
API: removed file size limitation
2023-09-16 19:38:16 +02:00
SChernykh
2c5cfb6442
Fixed data races when using uv_async_send
2023-09-04 19:33:31 +02:00
SChernykh
76c4573c39
CI: cleanup build warnings
...
Tests: fixed "unused const variable" warning
CMakeLists.txt: fixed deprecation warnings
2023-08-16 14:20:23 +02:00
SChernykh
3554adf0c1
Refactored string conversions
...
Use `log::Stream` everywhere
2023-06-27 14:29:19 +02:00
SChernykh
6e258bb210
Refactored TCPServer to reduce code duplication
2023-04-19 16:37:32 +02:00
SChernykh
d4329ae594
Show file:line where panic() was called from
2023-01-14 12:37:08 +01:00
SChernykh
2c4c2b8469
Fixed a rare crash on exit
2023-01-13 18:25:04 +01:00
SChernykh
1ad3fdfd46
Added more errors checks to p2pool_api
2023-01-13 15:16:06 +01:00
SChernykh
b346b93285
Updated copyright
2023-01-04 13:07:55 +01:00
SChernykh
6615fa67f5
API: fixed error messages
2022-08-26 09:39:44 +02:00
SChernykh
dc4b88d08e
API: use unique temp file names
2022-08-25 09:52:58 +02:00
SChernykh
4599d81a59
API: save to temp file first and then rename it
2022-08-24 17:28:53 +02:00
SChernykh
2aa8d2bdcc
Code cleanup
2022-06-20 22:37:33 +02:00
SChernykh
cb147773b5
Updated cppcheck workflow on Linux
2022-05-26 21:19:01 +02:00
SChernykh
a2afa29052
Updated copyright
2022-03-30 14:42:26 +02:00
SChernykh
148b9dd294
Switch to faster unordered_map/set
2021-10-22 18:34:20 +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
57bc38d2bb
data api: added stats_mod
2021-09-08 09:57:31 +02:00
SChernykh
4deef2f807
Added cppcheck workflow
2021-09-05 12:53:40 +02:00
SChernykh
e527b0c660
Added Windows builds
2021-09-05 11:28:24 +02:00
SChernykh
661d596107
api: store difficulty and totalHashes for each block
2021-09-03 18:04:54 +02:00
SChernykh
bab148fbad
Added cppcheck scripts
2021-09-02 12:35:36 +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