|
|
@ -915,9 +915,12 @@ int32_t iguana_reqhdrs(struct iguana_info *coin) |
|
|
|
init_hexbytes_noT(hashstr,bp->hashes[0].bytes,sizeof(bits256)); |
|
|
|
queue_enqueue("hdrsQ",&coin->hdrsQ,queueitem(hashstr),1); |
|
|
|
//printf("hdrsi.%d reqHDR.(%s) numhashes.%d\n",bp->hdrsi,hashstr,bp->numhashes);
|
|
|
|
iguana_blockQ("reqhdrs0",coin,bp,0,bp->hashes[0],0); |
|
|
|
if ( bits256_nonz(bp->hashes[1]) > 0 ) |
|
|
|
iguana_blockQ("reqhdrs1",coin,bp,1,bp->hashes[1],0); |
|
|
|
if ( 0 ) |
|
|
|
{ |
|
|
|
iguana_blockQ("reqhdrs0",coin,bp,0,bp->hashes[0],0); |
|
|
|
if ( bits256_nonz(bp->hashes[1]) > 0 ) |
|
|
|
iguana_blockQ("reqhdrs1",coin,bp,1,bp->hashes[1],0); |
|
|
|
} |
|
|
|
n++; |
|
|
|
bp->hdrtime = bp->issuetime = (uint32_t)time(NULL); |
|
|
|
} |
|
|
|