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];
};