|
@ -998,6 +998,8 @@ int32_t iguana_reqblocks(struct iguana_info *coin) |
|
|
else if ( bp != 0 && bundlei < bp->n-1 && (bits256_nonz(bp->hashes[bundlei+1]) != 0 || (bp->speculative != 0 && bits256_nonz(bp->speculative[bundlei+1]) != 0)) ) |
|
|
else if ( bp != 0 && bundlei < bp->n-1 && (bits256_nonz(bp->hashes[bundlei+1]) != 0 || (bp->speculative != 0 && bits256_nonz(bp->speculative[bundlei+1]) != 0)) ) |
|
|
{ |
|
|
{ |
|
|
int32_t j; |
|
|
int32_t j; |
|
|
|
|
|
memset(bp->hashes[bundlei].bytes,0,sizeof(bp->hashes[bundlei])); |
|
|
|
|
|
bp->blocks[bundlei] = 0; |
|
|
for (j=0; j<5&&bundlei+j+1<bp->n; j++) |
|
|
for (j=0; j<5&&bundlei+j+1<bp->n; j++) |
|
|
{ |
|
|
{ |
|
|
if ( time(NULL) > bp->issued[bundlei+1+j]+10 ) |
|
|
if ( time(NULL) > bp->issued[bundlei+1+j]+10 ) |
|
|