1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 16:33:32 -05:00

Added support for id and worker_id in API.

This commit is contained in:
XMRig
2017-08-31 06:31:49 +03:00
parent 71f06530df
commit 30dd7d6fe4
2 changed files with 61 additions and 0 deletions

View File

@@ -38,8 +38,13 @@ public:
private:
const char *finalize(json_t *reply, size_t *size) const;
void genId();
void getIdentify(json_t *reply) const;
void getMiner(json_t *reply) const;
char m_id[17];
char m_workerId[128];
mutable char m_buf[4096];
};