Add algo-min-time option same as meta-miner

This commit is contained in:
Tony Butler 2021-09-23 14:40:41 -06:00
parent 22ab8c6254
commit 28b86148ed
8 changed files with 27 additions and 3 deletions

View file

@ -214,6 +214,11 @@ void xmrig::Network::onLogin(IStrategy *, IClient *client, rapidjson::Document &
}
params.AddMember("algo-perf", algo_perf, allocator);
int algo_min_time = m_controller->config()->algoMinTime();
if (algo_min_time > 0) {
params.AddMember("algo-min-time", algo_min_time, allocator);
}
# endif
}