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:
@@ -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];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user