diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 6bd4982be..74c25ad54 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -223,7 +223,7 @@ char *LP_process_message(void *ctx,char *typestr,char *myipaddr,int32_t pubsock, }*/ free_json(argjson); } else printf("error parsing(%s)\n",jsonstr); - } else printf("DUPLICATE.(%s)\n",(char *)ptr); + } //else printf("DUPLICATE.(%s)\n",(char *)ptr); portable_mutex_unlock(&LP_commandmutex); if ( jsonstr != 0 && (void *)jsonstr != (void *)ptr && (void *)jsonstr != (void *)decoded ) free(jsonstr); diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index ac27882e7..0f189cbcf 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -140,11 +140,11 @@ void queue_loop(void *ignore) { printf("couldnt find.%u (%s)\n",ptr->crc32,(char *)ptr->msg); ptr->peerind++; - if ( (ptr->sock= LP_peerindsock(&ptr->peerind)) < 0 ) + /*if ( (ptr->sock= LP_peerindsock(&ptr->peerind)) < 0 ) { printf("%d no more peers to try at peerind.%d %p Q_LP.%p\n",n,ptr->peerind,ptr,LP_Q); flag = 1; - } + }*/ flag = 1; } } if ( flag != 0 ) @@ -252,7 +252,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); diff --git a/iguana/exchanges/LP_utxos.c b/iguana/exchanges/LP_utxos.c index 9ee1e5243..42577916b 100644 --- a/iguana/exchanges/LP_utxos.c +++ b/iguana/exchanges/LP_utxos.c @@ -641,11 +641,7 @@ int32_t LP_utxosparse(char *destipaddr,uint16_t destport,char *retstr,uint32_t n txid = jbits256(item,"txid"); //printf("parse.(%s)\n",jprint(item,0)); if ( (utxo= LP_utxoaddjson(1,-1,item)) != 0 ) - { - //if ( strcmp(utxo->coin,"HUSH") == 0 ) - // printf("%s set lasttime (%s)\n",destipaddr,jprint(item,0)); utxo->T.lasttime = now; - } } } if ( (destpeer= LP_peerfind((uint32_t)calc_ipbits(destipaddr),destport)) != 0 )