Added support for id and worker_id in API.
This commit is contained in:
parent
71f06530df
commit
30dd7d6fe4
2 changed files with 61 additions and 0 deletions
|
@ -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];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue