Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
3efb949e14
  1. 4
      iguana/iguana_blocks.c
  2. 2
      iguana/iguana_bundles.c

4
iguana/iguana_blocks.c

@ -370,9 +370,7 @@ struct iguana_block *_iguana_chainlink(struct iguana_info *coin,struct iguana_bl
//if ( block->fpipbits == 0 )
// iguana_blockQ(coin,bp,block->height % coin->chain->bundlesize,block->RO.hash2,1);
block->mainchain = 1;
iguana_blockreq(coin,block->height+1,0);
//iguana_blockreq(coin,block->height+2,0);
//iguana_blockreq(coin,block->height+3,0);
//iguana_blockreq(coin,block->height+1,0);
return(block);
}
}

2
iguana/iguana_bundles.c

@ -660,7 +660,7 @@ int64_t iguana_bundlecalcs(struct iguana_info *coin,struct iguana_bundle *bp)
{
if ( block->fpipbits != 0 ) //block->fpos >= 0 &&
numsaved++;
if ( block->RO.recvlen != 0 )
if ( block->RO.recvlen != 0 || block->fpipbits != 0 || block->fpos >= 0 || block->queued != 0 )
{
numrecv++;
datasize += block->RO.recvlen;

Loading…
Cancel
Save