mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-01 09:43:03 -05:00
Added calibrate-algo and calibrate-algo-time save in config file
This commit is contained in:
@@ -151,6 +151,9 @@ void xmrig::Config::getJSON(rapidjson::Document &doc) const
|
|||||||
}
|
}
|
||||||
doc.AddMember("algo-perf", algo_perf, allocator);
|
doc.AddMember("algo-perf", algo_perf, allocator);
|
||||||
|
|
||||||
|
doc.AddMember("calibrate-algo", isCalibrateAlgo(), allocator);
|
||||||
|
doc.AddMember("calibrate-algo-time", calibrateAlgoTime(), allocator);
|
||||||
|
|
||||||
doc.AddMember("user-agent", userAgent() ? Value(StringRef(userAgent())).Move() : Value(kNullType).Move(), allocator);
|
doc.AddMember("user-agent", userAgent() ? Value(StringRef(userAgent())).Move() : Value(kNullType).Move(), allocator);
|
||||||
|
|
||||||
# ifdef HAVE_SYSLOG_H
|
# ifdef HAVE_SYSLOG_H
|
||||||
|
|||||||
Reference in New Issue
Block a user