#define issue_curl(cmdstr) bitcoind_RPC(0,"curl",cmdstr,0,0,0,0)

This commit is contained in:
jl777
2019-03-27 00:18:30 -11:00
parent 63a02c688a
commit 7d251f6f24

View File

@@ -3,6 +3,7 @@
#include <time.h>
#include <unistd.h>
#define SATOSHIDEN ((uint64_t)100000000L)
#define issue_curl(cmdstr) bitcoind_RPC(0,"prices",cmdstr,0,0,0,0)
/*
In order to port a game into gamesCC, the RNG needs to be seeded with the gametxid seed, also events needs to be broadcast using issue_games_events. Also the game engine needs to be daemonized, preferably by putting all globals into a single data structure.
@@ -189,7 +190,7 @@ char *send_curl(char *url,char *fname)
//long fsize; char curlstr[1024];
//sprintf(curlstr,"curl --url \"%s\" > %s",url,fname);
char *retstr;
retstr = issue_curl(url,10);
retstr = issue_curl(url);
if ( retstr != 0 )
printf("retstr (%s)\n",retstr);
return(retstr);