p2pool: export data to an external web-server

Dumps data to JSON files which can be later served by a web-server.
This commit is contained in:
SChernykh
2021-09-01 13:49:58 +02:00
parent 5d6fa03f11
commit 295cbda449
9 changed files with 339 additions and 9 deletions

View File

@@ -32,6 +32,7 @@ static void usage()
"--light-mode Don't allocate RandomX dataset, saves 2GB of RAM\n"
"--loglevel Verbosity of the log, integer number between 0 and 5\n"
"--config Name of the p2pool config file\n"
"--data-api Path to the p2pool JSON data (use it in tandem with an external web-server)\n"
"--help Show this help message\n\n"
"Example command line:\n\n"
"%s --host 127.0.0.1 --rpc-port 18081 --zmq-port 18083 --wallet YOUR_WALLET_ADDRESS --stratum [::]:3333,0.0.0.0:3333 --p2p [::]:37890,0.0.0.0:37890\n\n",