From c4f20d41eb997202c1a0334ddeaee40a08ed29f1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 14 Oct 2017 12:20:53 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 6 +++--- iguana/exchanges/LP_ordermatch.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index e3ab3c825..bb2fb1c4c 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -363,7 +363,7 @@ dividends(coin, height, )\n\ coinaddr = jstr(argjson,"coinaddr"); if ( coin != 0 && coinaddr != 0 ) { - char str[65]; printf("uitem %s %s %s/v%d %.8f ht.%d\n",coin,coinaddr,bits256_str(str,txid),vout,dstr(value),height); + //char str[65]; printf("uitem %s %s %s/v%d %.8f ht.%d\n",coin,coinaddr,bits256_str(str,txid),vout,dstr(value),height); LP_address_utxoadd(LP_coinfind(coin),coinaddr,txid,vout,value,height,-1); } return(clonestr("{\"result\":\"success\"}")); @@ -418,7 +418,7 @@ dividends(coin, height, )\n\ retstr = LP_spentcheck(argjson); else if ( strcmp(method,"addr_unspents") == 0 ) { - printf("GOT ADDR_UNSPENTS\n"); + //printf("GOT ADDR_UNSPENTS\n"); if ( (ptr= LP_coinsearch(jstr(argjson,"coin"))) != 0 ) { char *coinaddr; //cJSON *array,*item,*req; int32_t i,n,vout,height; bits256 zero,txid; uint64_t value; @@ -428,7 +428,7 @@ dividends(coin, height, )\n\ { if ( strcmp(coinaddr,ptr->smartaddr) == 0 && bits256_nonz(G.LP_mypriv25519) != 0 ) { - printf("%s %s is my address being asked for!\n",ptr->symbol,coinaddr); + //printf("%s %s is my address being asked for!\n",ptr->symbol,coinaddr); ptr->addr_listunspent_requested = (uint32_t)time(NULL); } } diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index b3c2844bf..738a77066 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -252,7 +252,7 @@ void LP_listunspent_query(char *symbol,char *coinaddr) jaddstr(reqjson,"coin",symbol); jaddstr(reqjson,"address",coinaddr); msg = jprint(reqjson,1); - printf("BROADCAST.(%s)\n",msg); + //printf("BROADCAST.(%s)\n",msg); LP_broadcast_message(LP_mypubsock,"","",zero,msg); }