Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
507f132f99
  1. 4
      iguana/iguana_bundles.c

4
iguana/iguana_bundles.c

@ -452,7 +452,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int
for (i=j; i<bp->n; i+=numpeers) for (i=j; i<bp->n; i+=numpeers)
if ( (block= bp->blocks[i]) != 0 && block->fpipbits == 0 && (oldest == 0 || block->issued < oldest->issued) ) if ( (block= bp->blocks[i]) != 0 && block->fpipbits == 0 && (oldest == 0 || block->issued < oldest->issued) )
{ {
if ( now > block->issued+13 ) if ( now > block->issued+1+60*(bp!=coin->current) )
oldest = block; oldest = block;
} }
} }
@ -475,7 +475,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int
} }
} }
} }
if ( 0 && bp == coin->current ) if ( 1 && bp == coin->current )
{ {
if ( bp->numsaved < bp->n*.95 ) if ( bp->numsaved < bp->n*.95 )
{ {

Loading…
Cancel
Save