Added coin field support added in xmrig-proxy 2.5.
This commit is contained in:
parent
37ac1aa62c
commit
84970e9e9b
3 changed files with 20 additions and 0 deletions
|
@ -237,6 +237,10 @@ bool Client::parseJob(const rapidjson::Value ¶ms, int *code)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (params.HasMember("coin")) {
|
||||
job.setCoin(params["coin"].GetString());
|
||||
}
|
||||
|
||||
if (m_job == job) {
|
||||
if (!m_quiet) {
|
||||
LOG_WARN("[%s:%u] duplicate job received, reconnect", m_url.host(), m_url.port());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue