Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
75d3d42eb0
  1. 2
      iguana/iguana_bundles.c

2
iguana/iguana_bundles.c

@ -515,7 +515,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int
{ {
//if ( (addr= coin->peers.ranked[rand() % numpeers]) != 0 ) //if ( (addr= coin->peers.ranked[rand() % numpeers]) != 0 )
// iguana_sendblockreqPT(coin,addr,bp,i,block->RO.hash2,0); // iguana_sendblockreqPT(coin,addr,bp,i,block->RO.hash2,0);
iguana_blockQ("kick",coin,bp,i,block->RO.hash2,bp == coin->current); iguana_blockQ("kick",coin,bp,i,block->RO.hash2,bp == coin->current && now > block->issued+lag*10);
printf("[%d:%d] ",bp->hdrsi,i); printf("[%d:%d] ",bp->hdrsi,i);
} else iguana_blockQ("kick",coin,bp,i,block->RO.hash2,0); } else iguana_blockQ("kick",coin,bp,i,block->RO.hash2,0);
flag++; flag++;

Loading…
Cancel
Save