diff --git a/crypto777/bitcoind_RPC.c b/crypto777/bitcoind_RPC.c index 99cc62bf7..6bb5d3a12 100755 --- a/crypto777/bitcoind_RPC.c +++ b/crypto777/bitcoind_RPC.c @@ -96,7 +96,7 @@ char *post_process_bitcoind_RPC(char *debugstr,char *command,char *rpcstr,char * if ( (error->type&0xff) == cJSON_NULL && (result->type&0xff) != cJSON_NULL ) { retstr = jprint(result,0); - printf("%s %s rpc retstr.%p\n",command,params,retstr); + //printf("%s %s rpc retstr.%p\n",command,params,retstr); len = strlen(retstr); if ( retstr[0] == '"' && retstr[len-1] == '"' ) { @@ -114,7 +114,7 @@ char *post_process_bitcoind_RPC(char *debugstr,char *command,char *rpcstr,char * } if ( rpcstr != 0 ) { - printf("free rpcstr.%p\n",rpcstr); + //printf("free rpcstr.%p\n",rpcstr); free(rpcstr); } } else retstr = rpcstr; @@ -338,7 +338,7 @@ static size_t WriteMemoryCallback(void *ptr,size_t size,size_t nmemb,void *data) { //printf("curl needs %d more\n",(int32_t)realsize); mem->memory = (ptr != 0) ? realloc(mem->memory,needed) : malloc(needed); - printf("mem->memory.%p len.%d\n",mem->memory,(int32_t)needed); + //printf("mem->memory.%p len.%d\n",mem->memory,(int32_t)needed); mem->allocsize = needed; } //mem->memory = (ptr != 0) ? realloc(mem->memory,mem->size + realsize + 1) : malloc(mem->size + realsize + 1); diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index b5f27da8c..836f6a123 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -1038,7 +1038,7 @@ bits256 LP_getbestblockhash(struct iguana_info *coin) char *LP_blockhashstr(char *symbol,int32_t height) { - char params[64],*retstr; struct iguana_info *coin; //cJSON *array; + char params[64],*retstr; struct iguana_info *coin; //cJSON *array; if ( symbol == 0 || symbol[0] == 0 ) return(0); coin = LP_coinfind(symbol); @@ -1050,7 +1050,7 @@ char *LP_blockhashstr(char *symbol,int32_t height) sprintf(params,"[%d]",height); retstr = bitcoind_passthru(symbol,coin->serverport,coin->userpass,"getblockhash",params); //free(paramstr); - printf("blockhashstr.(%s)\n",retstr); + //printf("blockhashstr.(%s)\n",retstr); return(retstr); } diff --git a/iguana/exchanges/stats.c b/iguana/exchanges/stats.c index cc73844f6..0aabfa65b 100644 --- a/iguana/exchanges/stats.c +++ b/iguana/exchanges/stats.c @@ -329,7 +329,7 @@ extern void *bitcoin_ctx(); char *stats_rpcparse(char *retbuf,int32_t bufsize,int32_t *jsonflagp,int32_t *postflagp,char *urlstr,char *remoteaddr,char *filetype,uint16_t port) { static void *ctx; - cJSON *tokens,*argjson,*origargjson,*tmpjson=0,*json = 0; long filesize; char *myipaddr="127.0.0.1",symbol[64],buf[4096],*userpass=0,urlmethod[16],*data,url[8192],furl[8192],*retstr,*filestr,*token = 0; int32_t i,j,n,num=0; + cJSON *tokens,*argjson,*origargjson,*tmpjson=0,*json = 0; long filesize; char *myipaddr="127.0.0.1",symbol[64],buf[4096],*userpass=0,urlmethod[16],*data,url[8192],furl[8192],*retstr=0,*filestr,*token = 0; int32_t i,j,n,num=0; //printf("rpcparse.(%s)\n",urlstr); if ( ctx == 0 ) ctx = bitcoin_ctx();