diff --git a/iguana/iguana777.h b/iguana/iguana777.h index 48b45a7ed..ae32cec9d 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -978,6 +978,7 @@ bits256 iguana_sendrawtransaction(struct supernet_info *myinfo,struct iguana_inf int32_t iguana_inv2packet(uint8_t *serialized,int32_t maxsize,int32_t type,bits256 *hashes,int32_t n); int32_t instantdex_inv2data(struct supernet_info *myinfo,struct iguana_info *coin,struct iguana_peer *addr,struct exchange_info *exchange); struct iguana_bundlereq *instantdex_recvquotes(struct iguana_info *coin,struct iguana_bundlereq *req,bits256 *encodedhash,int32_t n); +struct exchange_info *exchange_create(char *exchangestr,cJSON *argjson); extern int32_t HDRnet,netBLOCKS; diff --git a/iguana/main.c b/iguana/main.c index 4baee1466..93e135dbe 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -1331,6 +1331,7 @@ void iguana_main(void *arg) strcpy(myinfo->rpcsymbol,"BTCD"); iguana_urlinit(myinfo,ismainnet,usessl); category_init(myinfo); + exchange_create("bitcoin",0); iguana_helpinit(myinfo); iguana_commandline(myinfo,arg); #ifdef __APPLE__