Browse Source

test

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

2
iguana/iguana_bundles.c

@ -1077,7 +1077,7 @@ void iguana_bundlestats(struct iguana_info *coin,char *str)
else if ( bp == coin->current )
{
for (j=0; j<bp->n; j++)
if ( (block= bp->blocks[j]) != 0 && (block->RO.recvlen == 0 || block->fpipbits == 0 || block->fpos < 0) && time(NULL) > block->issued+30 && (rand() % 10) == 0 )
if ( (block= bp->blocks[j]) != 0 && iguana_blockstatus(coin,block) == 0 && time(NULL) > block->issued+30 && (rand() % 10) == 0 )
{
struct iguana_peer *addr; int32_t r;
if ( 1 && (r= coin->peers.numranked) != 0 && (addr= coin->peers.ranked[rand() % r]) != 0 && addr->dead == 0 && addr->usock >= 0 )

Loading…
Cancel
Save