diff options
| author | Alex Morcos <[email protected]> | 2015-11-16 15:26:57 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2015-11-16 15:42:31 -0500 |
| commit | 56106a3300f844afcadf6dce50d5ef1d337f50b9 (patch) | |
| tree | f6a0f45ee2744deac348d981b127c4ab5c7f1ee8 /src/rpcserver.h | |
| parent | add estimateSmartFee to the unit test (diff) | |
| download | discoin-56106a3300f844afcadf6dce50d5ef1d337f50b9.tar.xz discoin-56106a3300f844afcadf6dce50d5ef1d337f50b9.zip | |
Expose RPC calls for estimatesmart functions
Also add testing for estimatesmartfee in smartfees.py
Diffstat (limited to 'src/rpcserver.h')
| -rw-r--r-- | src/rpcserver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h index dde8dfdcc..fc88f82be 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -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); |