Browse Source

test

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

3
iguana/iguana_recv.c

@ -678,7 +678,7 @@ struct iguana_bundlereq *iguana_recvblockhdrs(struct iguana_info *coin,struct ig
bp = 0, bundlei = -1;
if ( (bp= iguana_bundleset(coin,&block,&bundlei,&blocks[i])) != 0 )
{
printf("{%d:%d} ",bp->hdrsi,bundlei);
//printf("{%d:%d} ",bp->hdrsi,bundlei);
if ( i == 0 )
firstbp = bp;
if ( bundlei == i+1 && bp == firstbp )
@ -690,6 +690,7 @@ struct iguana_bundlereq *iguana_recvblockhdrs(struct iguana_info *coin,struct ig
}
} else printf("blockhash[%d] cant be found\n",i);
}
char str[65]; printf("blockhdrs.%s hdrsi.%d\n",bits256_str(str,blocks[0].RO.hash2),firstbp!=0?firstbp->hdrsi:-1);
if ( firstbp != 0 && match == coin->chain->bundlesize-1 && n == firstbp->n )
{
if ( firstbp->queued == 0 )

Loading…
Cancel
Save