Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
d174e6d30c
  1. 4
      iguana/exchanges/nxtae.c
  2. 2
      iguana/iguana777.h

4
iguana/exchanges/nxtae.c

@ -83,11 +83,11 @@ char *_get_MSoffers(struct supernet_info *myinfo,char *str)
return(issue_NXTPOST(cmd));
}
char *issue_startForging(struct supernet_info *myinfo,char *secret)
char *issue_startForging(char *url,char *secret)
{
char cmd[4096];
sprintf(cmd,"requestType=startForging&secretPhrase=%s",secret);
return(issue_NXTPOST(cmd));
return(bitcoind_RPC(0,"curl",url,0,0,cmd));
}
uint32_t get_blockutime(struct supernet_info *myinfo,uint32_t blocknum)

2
iguana/iguana777.h

@ -755,7 +755,7 @@ cJSON *bitcoin_addinput(struct iguana_info *coin,cJSON *txobj,bits256 txid,int32
int32_t bitcoin_verifytx(struct iguana_info *coin,bits256 *signedtxidp,char **signedtx,char *rawtxstr,struct vin_info *V);
char *bitcoin_json2hex(struct iguana_info *coin,bits256 *txidp,cJSON *txjson);
int32_t bitcoin_addr2rmd160(uint8_t *addrtypep,uint8_t rmd160[20],char *coinaddr);
char *issue_startForging(struct supernet_info *myinfo,char *secret);
char *issue_startForging(char *url,char *secret);
extern queue_t bundlesQ;

Loading…
Cancel
Save