Added mining on battery setting

This commit is contained in:
SChernykh
2020-07-22 20:12:16 +02:00
parent 51370682f3
commit 8c8a46acb8
10 changed files with 95 additions and 18 deletions

View File

@@ -252,4 +252,5 @@ void xmrig::Config::getJSON(rapidjson::Document &doc) const
doc.AddMember(StringRef(kUserAgent), m_userAgent.toJSON(), allocator);
doc.AddMember(StringRef(kVerbose), Log::verbose(), allocator);
doc.AddMember(StringRef(kWatch), m_watch, allocator);
doc.AddMember(StringRef(kMineOnBattery), m_mineOnBattery, allocator);
}