Browse Source

Merge commit '9d9963b' into bfgminer

Luke Dashjr 13 years ago
parent
commit
274417c945
1 changed files with 2 additions and 1 deletions
  1. 2 1
      driver-bitforce.c

+ 2 - 1
driver-bitforce.c

@@ -298,7 +298,8 @@ re_send:
 		nonce = (uint32_t *)(ob + 8 + 32 + 12);
 		nonce = (uint32_t *)(ob + 8 + 32 + 12);
 		*nonce = htobe32(work->blk.nonce);
 		*nonce = htobe32(work->blk.nonce);
 		nonce = (uint32_t *)(ob + 8 + 32 + 12 + 4);
 		nonce = (uint32_t *)(ob + 8 + 32 + 12 + 4);
-		bitforce->nonces = 0x3fffffff;
+		/* Split work up into 1/5th nonce ranges */
+		bitforce->nonces = 0x33333332;
 		*nonce = htobe32(work->blk.nonce + bitforce->nonces);
 		*nonce = htobe32(work->blk.nonce + bitforce->nonces);
 		work->blk.nonce += bitforce->nonces + 1;
 		work->blk.nonce += bitforce->nonces + 1;
 		sprintf((char *)ob + 8 + 32 + 12 + 8, ">>>>>>>>");
 		sprintf((char *)ob + 8 + 32 + 12 + 8, ">>>>>>>>");