Browse Source

test

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

4
iguana/iguana_bundles.c

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

Loading…
Cancel
Save