Expose RPC calls for estimatesmart functions

Also add testing for estimatesmartfee in smartfees.py
This commit is contained in:
Alex Morcos
2015-11-16 15:26:57 -05:00
parent e93a236d7a
commit 56106a3300
5 changed files with 108 additions and 22 deletions

View File

@@ -193,6 +193,8 @@ extern UniValue getblocktemplate(const UniValue& params, bool fHelp);
extern UniValue submitblock(const UniValue& params, bool fHelp);
extern UniValue estimatefee(const UniValue& params, bool fHelp);
extern UniValue estimatepriority(const UniValue& params, bool fHelp);
extern UniValue estimatesmartfee(const UniValue& params, bool fHelp);
extern UniValue estimatesmartpriority(const UniValue& params, bool fHelp);
extern UniValue getnewaddress(const UniValue& params, bool fHelp); // in rpcwallet.cpp
extern UniValue getaccountaddress(const UniValue& params, bool fHelp);