From bb8dde925c7613c99e52a053e82ff92f6e502117 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 18 Jun 2017 14:48:42 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index f64997a06..218bf1cd2 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -220,12 +220,13 @@ int32_t LP_mainloop_iter(char *myipaddr,struct LP_peerinfo *mypeer,int32_t pubso now = (uint32_t)time(NULL); if ( mypeer == 0 ) myipaddr = "127.0.0.1"; - //printf("start peers updates\n"); + printf("start peers updates\n"); numpeers = 0; HASH_ITER(hh,LP_peerinfos,peer,tmp) { numpeers++; } + printf("counter.%d numpeers %d\n",counter,numpeers); HASH_ITER(hh,LP_peerinfos,peer,tmp) { nonz += LP_pullsock_check(myipaddr,pubsock,pullsock,profitmargin); @@ -319,6 +320,7 @@ void LP_mainloop(char *myipaddr,struct LP_peerinfo *mypeer,uint16_t mypubport,in } for (i=0; i