Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
f2833d6116
  1. 6
      iguana/iguana_recv.c

6
iguana/iguana_recv.c

@ -558,11 +558,11 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int
iguana_bundleQ(coin,bp,1000); iguana_bundleQ(coin,bp,1000);
return(0); return(0);
} }
max = bp->n - (bp->n/coin->MAXBUNDLES)*(bp->hdrsi - starti); max = sqrt(bp->n) - (bp->n/coin->MAXBUNDLES)*(bp->hdrsi - starti);
if ( max > bp->n ) if ( max > bp->n )
max = bp->n; max = bp->n;
else if ( max < 100 ) else if ( max < 10 )
max = 100; max = 10;
if ( bp != currentbp ) if ( bp != currentbp )
{ {
//printf("initial requests for hdrs.%d\n",bp->hdrsi); //printf("initial requests for hdrs.%d\n",bp->hdrsi);

Loading…
Cancel
Save