Changed Nonce changing from +1 each step to random change factor.
This commit is contained in:
parent
73529f6d1b
commit
e23dad0f1d
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ void MultiWorker<N>::start()
|
||||||
Workers::submit(JobResult(m_state.job.poolId(), m_state.job.id(), *nonce(i), m_hash + (i * 32), m_state.job.diff(), m_state.job.algorithm()));
|
Workers::submit(JobResult(m_state.job.poolId(), m_state.job.id(), *nonce(i), m_hash + (i * 32), m_state.job.diff(), m_state.job.algorithm()));
|
||||||
}
|
}
|
||||||
|
|
||||||
*nonce(i) += ;
|
*nonce(i) += rand();
|
||||||
}
|
}
|
||||||
|
|
||||||
m_count += N;
|
m_count += N;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue