Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
e15c3379bc
  1. 3
      iguana/iguana_recv.c

3
iguana/iguana_recv.c

@ -345,6 +345,7 @@ void iguana_bundlespeculate(struct iguana_info *coin,struct iguana_bundle *bp,in
int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int32_t timelimit)
{
int32_t i,n,better,issued,valid,pend,max,counter = 0; uint32_t now; struct iguana_block *block; double endmillis,width;
return(0);
coin->numbundlesQ--;
if ( bp->numhashes < bp->n && bp->bundleheight < coin->longestchain-coin->chain->bundlesize )
{
@ -552,7 +553,7 @@ struct iguana_bundlereq *iguana_recvblockhdrs(struct iguana_info *coin,struct ig
{
if ( firstbp->queued == 0 )
{
fprintf(stderr,"firstbp blockQ %d\n",firstbp->bundleheight);
//fprintf(stderr,"firstbp blockQ %d\n",firstbp->bundleheight);
iguana_bundleQ(coin,firstbp,1000);
}
}

Loading…
Cancel
Save