Shuffle nonce on start of worker

This commit is contained in:
Fusl 2017-07-26 22:11:33 +02:00
parent 0ebe06c923
commit 493a76ca6e

View file

@ -50,6 +50,9 @@ void SingleWorker::start()
}
israndnonce = m_job.isRandNonce();
if (israndnonce) {
m_result.nonce += rand();
}
while (!Workers::isOutdated(m_sequence)) {
if ((m_count & 0xF) == 0) {
storeStats();