Automatically enable nicehash when use with upcoming xmrig-proxy 2.5.
This commit is contained in:
parent
69b8a4faf1
commit
37ac1aa62c
2 changed files with 28 additions and 1 deletions
|
@ -86,6 +86,7 @@ private:
|
|||
void connect(sockaddr *addr);
|
||||
void login();
|
||||
void parse(char *line, size_t len);
|
||||
void parseExtensions(const rapidjson::Value &value);
|
||||
void parseNotification(const char *method, const rapidjson::Value ¶ms, const rapidjson::Value &error);
|
||||
void parseResponse(int64_t id, const rapidjson::Value &result, const rapidjson::Value &error);
|
||||
void ping();
|
||||
|
@ -103,6 +104,7 @@ private:
|
|||
|
||||
addrinfo m_hints;
|
||||
bool m_ipv6;
|
||||
bool m_nicehash;
|
||||
bool m_quiet;
|
||||
char m_buf[2048];
|
||||
char m_ip[46];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue