Changed Nonce changing from +1 each step to random change factor.

This commit is contained in:
mowoe 2018-05-17 16:46:55 +02:00
parent 73529f6d1b
commit e23dad0f1d

View file

@ -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;