Add algo-min-time option same as meta-miner
This commit is contained in:
parent
22ab8c6254
commit
28b86148ed
8 changed files with 27 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue