Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
36df3a8eca
  1. 3
      iguana/confs/BTC_hdrs.txt
  2. 6
      iguana/iguana_rpc.c

3
iguana/confs/BTC_hdrs.txt

@ -201,3 +201,6 @@
398000 000000000000000001c6bd9d2dbccc3f16ddb534119de0aeb7d0a8c87f78e001 e73b9cb5fb81415bbe18e2601f261aeb8fe843d53ecf708219da5bfe096df418 0000000000000000029b38bdf2fb2b7ab210931ef90b0886f09d7000f54ee23d
400000 000000000000000004ec466ce4732fe6f1ed1cddc2ed4b328fff5224276e3f6f 6a5623df8be9c601913923a45a15138c81f2735aeb58930706cb6b5a729ae890 000000000000000005421b1b2ee6d06d037557d7f5ec96852542413cfed40c22
402000 0000000000000000001b7da4ed218caf465ca9bb08a33712e8fc3fa508e6264c a713821d1bbb65b279f1b3419e9ee55faf8edc18af03d027089abc31b8789b69 000000000000000006e4cba5d6971fe5dd734dc68e158bf0a6f4d78c11d0e91f
404000 000000000000000004f9f0d6320d54c1f108130998e5bfb911f521ddf34da82c 65638c1d27075ca7bddf5f5bf7e6a1bc53b1ee60aa678c629091e3da60fe59a8 000000000000000001da1eeb6fa89a81b7534309e3dafa425db27e4e4e3bb972
406000 000000000000000003b3efcefc5eaaef3b21671228233be52db1a080022462c1 9f141ccc21d86aa7ae67a18f7b405d6c4a24a367e4fe5c3bcaea08cfb20de64e 0000000000000000031c610eb5a810af32b531569c5fe681d0c2ddb7ae56be80
408000 000000000000000003cc3d3e5b5d9b577b83c2b8d6f4257398c8f4aa8b2be649

6
iguana/iguana_rpc.c

@ -405,7 +405,8 @@ static char *verifymessage(RPCARGS)
// unspents
static char *listunspent(RPCARGS)
{
int32_t numrmds,minconf=0,maxconf=0,m = 0; uint8_t *rmdarray; cJSON *retjson;
return(sglue3(0,CALLGLUE,"bitcoinrpc","listunspent","minconf",params[0],"maxconf",params[1],"array",params[2]));
/*int32_t numrmds,minconf=0,maxconf=0,m = 0; uint8_t *rmdarray; cJSON *retjson;
retjson = cJSON_CreateArray();
if ( (minconf= juint(params[0],0)) > 0 )
{
@ -421,8 +422,7 @@ static char *listunspent(RPCARGS)
iguana_unspents(myinfo,coin,retjson,minconf,maxconf,rmdarray,numrmds);
if ( rmdarray != 0 )
free(rmdarray);
return(jprint(retjson,1));
// return(sglue2(0,CALLGLUE,"bitcoinrpc","listunspent","minconf",params[0],"maxconf",params[1]));
return(jprint(retjson,1));*/
}
static char *lockunspent(RPCARGS)

Loading…
Cancel
Save