Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
cd869c3c2c
  1. 2
      iguana/iguana777.c
  2. 2
      iguana/iguana_recv.c

2
iguana/iguana777.c

@ -379,7 +379,7 @@ void iguana_helper(void *arg)
}
if ( flag == 0 )
usleep(100000);
else usleep(1000);
else usleep(5000);
}
}

2
iguana/iguana_recv.c

@ -816,7 +816,7 @@ struct iguana_bundlereq *iguana_recvblock(struct iguana_info *coin,struct iguana
fprintf(stderr,"blockRECV %s [%d:%d] block.%08x | %d\n",bits256_str(str,origblock->RO.hash2),bp!=0?bp->hdrsi:-1,bundlei,block->fpipbits,total++);
if ( bundlei == 1 && bp != 0 && bp->numhashes < bp->n )
{
printf("reissue hdrs request for [%d]\n",bp->hdrsi);
//printf("reissue hdrs request for [%d]\n",bp->hdrsi);
queue_enqueue("hdrsQ",&coin->hdrsQ,queueitem(bits256_str(str,bp->hashes[0])),1);
}
if ( block != 0 )

Loading…
Cancel
Save