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:
@@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user