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 ) //if ( block->fpipbits == 0 )
// iguana_blockQ(coin,bp,block->height % coin->chain->bundlesize,block->RO.hash2,1); // iguana_blockQ(coin,bp,block->height % coin->chain->bundlesize,block->RO.hash2,1);
block->mainchain = 1; block->mainchain = 1;
iguana_blockreq(coin,block->height+1,0); //iguana_blockreq(coin,block->height+1,0);
//iguana_blockreq(coin,block->height+2,0);
//iguana_blockreq(coin,block->height+3,0);
return(block); 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 && if ( block->fpipbits != 0 ) //block->fpos >= 0 &&
numsaved++; numsaved++;
if ( block->RO.recvlen != 0 ) if ( block->RO.recvlen != 0 || block->fpipbits != 0 || block->fpos >= 0 || block->queued != 0 )
{ {
numrecv++; numrecv++;
datasize += block->RO.recvlen; datasize += block->RO.recvlen;

Loading…
Cancel
Save