Prepare for cn/r.
This commit is contained in:
parent
69513e7049
commit
5e6a69e16f
11 changed files with 595 additions and 21 deletions
2
xmrig.c
2
xmrig.c
|
@ -307,7 +307,7 @@ static void *miner_thread(void *userdata) {
|
|||
gettimeofday(&tv_start, NULL);
|
||||
|
||||
/* scan nonces for a proof-of-work hash */
|
||||
const int rc = scanhash_cryptonight(thr_id, hash, (const uint8_t *) work.blob, work.blob_size, work.target, max_nonce, &hashes_done, persistentctx);
|
||||
const int rc = scanhash_cryptonight(thr_id, hash, (uint8_t *) work.blob, work.blob_size, work.target, max_nonce, &hashes_done, persistentctx);
|
||||
stats_add_hashes(thr_id, &tv_start, hashes_done);
|
||||
|
||||
if (!rc) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue