Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
61e4e2b75d
  1. 4
      iguana/iguana_recv.c

4
iguana/iguana_recv.c

@ -541,7 +541,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int
return(0);
}
//printf("BUNDLEITERS.%d\n",bp->hdrsi);
if ( bp->hdrsi <= starti+range && coin->lastpending != 0 )
if ( bp->hdrsi <= starti+sqrt(range) && coin->lastpending != 0 )
{
for (i=0; i<bp->n; i++)
{
@ -1229,7 +1229,7 @@ int32_t iguana_blockQ(char *argstr,struct iguana_info *coin,struct iguana_bundle
req->height = height;
req->bundlei = bundlei;
char str2[65];
//if ( 0 && (bundlei % 250) == 0 )
if ( 0 && (bundlei % 250) == 0 )
printf("%s %s [%d:%d] %d %s %d numranked.%d qsize.%d\n",argstr,str,bp!=0?bp->hdrsi:-1,bundlei,req->height,bits256_str(str2,hash2),coin->blocks.recvblocks,coin->peers.numranked,queue_size(Q));
if ( block != 0 )
{

Loading…
Cancel
Save