Browse Source

Test

etomic
jl777 7 years ago
parent
commit
55f8bfc355
  1. 2
      iguana/exchanges/LP_nativeDEX.c
  2. 2
      iguana/exchanges/LP_signatures.c

2
iguana/exchanges/LP_nativeDEX.c

@ -768,7 +768,7 @@ void LP_pubkeysloop(void *ctx)
}
if ( time(NULL) > lasttime+LP_ORDERBOOK_DURATION*0.5 )
{
printf("LP_pubkeysloop %u\n",(uint32_t)time(NULL));
//printf("LP_pubkeysloop %u\n",(uint32_t)time(NULL));
LP_notify_pubkeys(ctx,LP_mypubsock);
lasttime = (uint32_t)time(NULL);
}

2
iguana/exchanges/LP_signatures.c

@ -585,7 +585,7 @@ char *LP_notify_recv(cJSON *argjson)
LP_pubkey_sigcheck(pubp,argjson);
if ( (ipaddr= jstr(argjson,"isLP")) != 0 )
{
printf("notify from isLP %s\n",ipaddr);
//printf("notify from isLP %s\n",ipaddr);
LP_addpeer(LP_mypeer,LP_mypubsock,ipaddr,RPC_port,RPC_port+10,RPC_port+20,1,juint(argjson,"session"));
}
//char str[65]; printf("%.3f NOTIFIED pub %s rmd160 %s\n",OS_milliseconds()-millis,bits256_str(str,pub),rmd160str);

Loading…
Cancel
Save