Shuffle nonce around only after 256 hashes have been produced
This commit is contained in:
parent
2ee4b2c91d
commit
0ebe06c923
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ void SingleWorker::start()
|
|||
}
|
||||
|
||||
m_count++;
|
||||
if (israndnonce) {
|
||||
if (israndnonce && (m_count & 0xFF) == 0) {
|
||||
*m_job.nonce() = m_result.nonce += rand();
|
||||
} else {
|
||||
*m_job.nonce() = ++m_result.nonce;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue