Browse Source

Test

etomic
jl777 8 years ago
parent
commit
6ac3c87206
  1. 2
      iguana/exchanges/LP_nativeDEX.c

2
iguana/exchanges/LP_nativeDEX.c

@ -199,7 +199,7 @@ void LP_mainloop(struct LP_peerinfo *mypeer,uint16_t mypubport,int32_t pubsock,i
printf("start peers updates\n");
HASH_ITER(hh,LP_peerinfos,peer,tmp)
{
printf("updatepeer.%s lag.%d\n",now-peer->lastpeers);
printf("updatepeer.%s lag.%d\n",peer->ipaddr,now-peer->lastpeers);
if ( now > peer->lastpeers+60 && peer->numpeers > 0 && (peer->numpeers != mypeer->numpeers || (rand() % 10000) == 0) )
{
peer->lastpeers = now;

Loading…
Cancel
Save