Browse Source

Test

etomic
jl777 8 years ago
parent
commit
c53ab38e76
  1. 4
      iguana/exchanges/LP_nativeDEX.c

4
iguana/exchanges/LP_nativeDEX.c

@ -265,12 +265,16 @@ void LP_mainloop(char *myipaddr,struct LP_peerinfo *mypeer,uint16_t mypubport,in
now = (uint32_t)time(NULL); now = (uint32_t)time(NULL);
if ( lastforward < now-3600 ) if ( lastforward < now-3600 )
{ {
printf("LP_forwarding_register\n");
LP_forwarding_register(LP_mypubkey,pushaddr,10); LP_forwarding_register(LP_mypubkey,pushaddr,10);
lastforward = now; lastforward = now;
} }
nonz = n = 0; nonz = n = 0;
if ( (counter % 6000) == 0 ) if ( (counter % 6000) == 0 )
{
printf("LP_utxo_updates\n");
LP_utxo_updates(pubsock,passphrase,profitmargin); LP_utxo_updates(pubsock,passphrase,profitmargin);
}
printf("checkpeers\n"); printf("checkpeers\n");
HASH_ITER(hh,LP_peerinfos,peer,tmp) HASH_ITER(hh,LP_peerinfos,peer,tmp)
{ {

Loading…
Cancel
Save