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

@@ -63,6 +63,10 @@ Params::Params(int argc, char* argv[])
if ((strcmp(argv[i], "--config") == 0) && (i + 1 < argc)) {
m_config = argv[++i];
}
if ((strcmp(argv[i], "--data-api") == 0) && (i + 1 < argc)) {
m_apiPath = argv[++i];
}
}
}