1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-09 16:52:40 -05:00

CryptonightR support for Wownero

This commit is contained in:
SChernykh
2019-02-10 15:21:17 +01:00
parent 73852f44c6
commit e3f2c38fff
32 changed files with 11251 additions and 131 deletions

View File

@@ -354,6 +354,14 @@ bool Client::parseJob(const rapidjson::Value &params, int *code)
}
}
if (params.HasMember("height")) {
const rapidjson::Value &variant = params["height"];
if (variant.IsInt()) {
job.setHeight(variant.GetInt());
}
}
if (!verifyAlgorithm(job.algorithm())) {
*code = 6;