Browse Source

Test

etomic
jl777 8 years ago
parent
commit
229d4d931e
  1. 2
      iguana/exchanges/LP_nativeDEX.c

2
iguana/exchanges/LP_nativeDEX.c

@ -227,7 +227,7 @@ int32_t LP_mainloop_iter(char *myipaddr,struct LP_peerinfo *mypeer,int32_t pubso
}
HASH_ITER(hh,LP_peerinfos,peer,tmp)
{
//printf("updatepeer.%s lag.%d\n",peer->ipaddr,now-peer->lastpeers);
printf("updatepeer.%s lag.%d\n",peer->ipaddr,now-peer->lastpeers);
if ( now > peer->lastpeers+60 && peer->numpeers > 0 && (peer->numpeers != numpeers || (rand() % 10000) == 0) )
{
peer->lastpeers = now;

Loading…
Cancel
Save