Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
7d103dfa4a
  1. 4
      iguana/iguana_bundles.c

4
iguana/iguana_bundles.c

@ -663,12 +663,12 @@ int32_t iguana_bundleissuemissing(struct supernet_info *myinfo,struct iguana_inf
if ( firsti < 0 ) if ( firsti < 0 )
firsti = i; firsti = i;
lasti = i; lasti = i;
if ( strcmp("BTC",coin->symbol) != 0 || (bp->issued[i] > 1 && now > bp->issued[i]+lag) ) if ( 1 )
{ {
iguana_bundleblock(coin,&hash2,bp,i); iguana_bundleblock(coin,&hash2,bp,i);
if ( bits256_nonz(hash2) != 0 ) if ( bits256_nonz(hash2) != 0 )
{ {
if ( 1 && (addr= coin->peers->ranked[rand() % max]) != 0 && addr->usock >= 0 && addr->dead == 0 ) if ( strcmp("BTC",coin->symbol) != 0 || (bp->issued[i] > 1 && now > bp->issued[i]+lag && (addr= coin->peers->ranked[rand() % max]) != 0 && addr->usock >= 0 && addr->dead == 0) )
{ {
if ( 0 && bp == coin->current ) if ( 0 && bp == coin->current )
printf("iguana_bundleissuemissing.[%d:%d]\n",bp->hdrsi,i); printf("iguana_bundleissuemissing.[%d:%d]\n",bp->hdrsi,i);

Loading…
Cancel
Save