From 6c10eea5d59dfe04134388a55cf10a6aae06b56b Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 7 Jul 2017 22:09:44 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_network.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index 2f2e1e703..880cf3e6e 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -128,13 +128,13 @@ void queue_loop(void *ignore) else flag = 1; } } - else if ( time(NULL) > ptr->starttime+30 ) + else if ( time(NULL) > ptr->starttime+10 ) { LP_crc32find(&duplicate,-1,ptr->crc32); if ( duplicate > 0 ) { LP_Qfound++; - if ( (LP_Qenqueued % 10) == 0 ) + //if ( (LP_Qenqueued % 10) == 0 ) printf("found.%u Q.%d err.%d match.%d\n",ptr->crc32,LP_Qenqueued,LP_Qerrors,LP_Qfound); flag = 1; } @@ -255,7 +255,7 @@ void LP_broadcast_message(int32_t pubsock,char *base,char *rel,bits256 destpub25 msg = (void *)jprint(argjson,0); msglen = (int32_t)strlen((char *)msg) + 1; crc32 = calc_crc32(0,&msg[2],msglen - 2); - printf("CRC32.%u (%s)\n",crc32,(char *)msg); + //printf("CRC32.%u (%s)\n",crc32,(char *)msg); //jdelete(argjson,"method"); //jaddstr(argjson,"method","broadcast"); //msg = (void *)jprint(argjson,0);