mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 12:09:22 +00:00
Added "paused" field to API.
This commit is contained in:
parent
c29fa62260
commit
71ee145f70
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ public:
|
|||
reply.AddMember("ua", StringRef(Platform::userAgent()), allocator);
|
||||
reply.AddMember("cpu", Cpu::toJSON(doc), allocator);
|
||||
reply.AddMember("donate_level", controller->config()->pools().donateLevel(), allocator);
|
||||
reply.AddMember("paused", !enabled, allocator);
|
||||
|
||||
Value algo(kArrayType);
|
||||
|
||||
|
|
Loading…
Reference in a new issue