test
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
//#include "../crypto777/OS_portable.h"
|
//#include "../crypto777/OS_portable.h"
|
||||||
|
|
||||||
#define SATOSHIDEN ((uint64_t)100000000L)
|
#define SATOSHIDEN ((uint64_t)100000000L)
|
||||||
#define dstr(x) ((double)(x) / SATOSHIDEN)
|
//#define dstr(x) ((double)(x) / SATOSHIDEN)
|
||||||
#define MAX_JSON_FIELD 4096 // on the big side
|
#define MAX_JSON_FIELD 4096 // on the big side
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
@@ -302,7 +302,7 @@ char *komodo_issuemethod(char *method,char *params,uint16_t port)
|
|||||||
sprintf(url,(char *)"http://127.0.0.1:%u",port);
|
sprintf(url,(char *)"http://127.0.0.1:%u",port);
|
||||||
sprintf(postdata,"{\"method\":\"%s\",\"params\":%s}",method,params);
|
sprintf(postdata,"{\"method\":\"%s\",\"params\":%s}",method,params);
|
||||||
//printf("postdata.(%s) USERPASS.(%s)\n",postdata,USERPASS);
|
//printf("postdata.(%s) USERPASS.(%s)\n",postdata,USERPASS);
|
||||||
retstr2 = bitcoind_RPC(&retstr,"debug",url,USERPASS,method,params);
|
retstr2 = bitcoind_RPC(&retstr,(char *)"debug",url,USERPASS,method,params);
|
||||||
//retstr = curl_post(&cHandle,url,USERPASS,postdata,0,0,0,0);
|
//retstr = curl_post(&cHandle,url,USERPASS,postdata,0,0,0,0);
|
||||||
}
|
}
|
||||||
return(retstr);
|
return(retstr);
|
||||||
|
|||||||
Reference in New Issue
Block a user