Added API endpoint "GET /1/config".

This commit is contained in:
XMRig 2018-03-31 19:00:31 +07:00
parent 341557c34e
commit 8d4d1a3285
3 changed files with 74 additions and 49 deletions

View file

@ -138,7 +138,7 @@ static struct option const config_options[] = {
{ "retry-pause", 1, nullptr, xmrig::IConfig::RetryPauseKey },
{ "safe", 0, nullptr, xmrig::IConfig::SafeKey },
{ "syslog", 0, nullptr, xmrig::IConfig::SyslogKey },
{ "threads", 1, nullptr, xmrig::IConfig::SafeKey },
{ "threads", 1, nullptr, xmrig::IConfig::ThreadsKey },
{ "user-agent", 1, nullptr, xmrig::IConfig::UserAgentKey },
{ 0, 0, 0, 0 }
};