From d1542798f181c2d39e48328080bac812cf9c50c9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 8 Jul 2017 14:36:56 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 8b9aa05c4..9907034da 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -321,6 +321,7 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int mostpeer = 0; HASH_ITER(hh,LP_peerinfos,peer,tmp) { + printf("%d ",peer->numutxos); if ( peer->errors >= LP_MAXPEER_ERRORS ) { if ( (rand() % 10000) == 0 ) @@ -354,6 +355,7 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int peer->diduquery = now; } } + printf("numutxos vs mine.%d\n",LP_mypeer != 0 ? LP_mypeer->numutxos : -1); if ( LP_mypeer != 0 && LP_mypeer->numutxos < mostutxos && mostpeer != 0 ) { printf("myutxos.%d most.%d %s\n",LP_mypeer->numutxos,mostutxos,mostpeer->ipaddr);