mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 07:55:04 -05:00
Basic algo selection from pool/proxy.
This commit is contained in:
@@ -249,6 +249,10 @@ bool Client::parseJob(const rapidjson::Value ¶ms, int *code)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (params.HasMember("algo")) {
|
||||
job.algorithm().parseAlgorithm(params["algo"].GetString());
|
||||
}
|
||||
|
||||
if (params.HasMember("variant")) {
|
||||
job.algorithm().parseVariant(params["variant"].GetInt());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user