mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-12 13:55:19 +00:00
Basic algo selection from pool/proxy.
This commit is contained in:
parent
ba5f92c6dd
commit
a9cc5c5258
1 changed files with 4 additions and 0 deletions
|
@ -249,6 +249,10 @@ bool Client::parseJob(const rapidjson::Value ¶ms, int *code)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (params.HasMember("algo")) {
|
||||||
|
job.algorithm().parseAlgorithm(params["algo"].GetString());
|
||||||
|
}
|
||||||
|
|
||||||
if (params.HasMember("variant")) {
|
if (params.HasMember("variant")) {
|
||||||
job.algorithm().parseVariant(params["variant"].GetInt());
|
job.algorithm().parseVariant(params["variant"].GetInt());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue