Make single thread bench cheat-resistant
Each hash is dependent on the previous hash to make multi-threaded cheating impossible.
This commit is contained in:
parent
0d3c2752c9
commit
c10ec90b60
11 changed files with 43 additions and 15 deletions
|
@ -390,7 +390,7 @@ void xmrig::CpuBackend::start(IWorker *worker, bool ready)
|
|||
mutex.unlock();
|
||||
|
||||
if (ready) {
|
||||
worker->start();
|
||||
worker->start(d_ptr->controller->config());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue