Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
b257ffad5e
  1. 4
      iguana/iguana_recv.c

4
iguana/iguana_recv.c

@ -939,9 +939,9 @@ int32_t iguana_pollQsPT(struct iguana_info *coin,struct iguana_peer *addr)
return(0);
}
priority = 1;
if ( (req= queue_dequeue(&coin->priorityQ,0)) == 0 && 0 && (rand() % 50) == 0 )
if ( (req= queue_dequeue(&coin->priorityQ,0)) == 0 && (rand() % 10) == 0 )
{
if ( 1 || (rand() & 1) == 0 )
if ( (rand() & 1) == 0 )
flag = iguana_neargap(coin,addr);
else if ( (bp= addr->bp) != 0 && bp->rank != 0 && addr->pendblocks < limit )
{

Loading…
Cancel
Save