aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.cpp
diff options
context:
space:
mode:
authorAlex Morcos <[email protected]>2015-11-16 15:26:57 -0500
committerAlex Morcos <[email protected]>2015-11-16 15:42:31 -0500
commit56106a3300f844afcadf6dce50d5ef1d337f50b9 (patch)
treef6a0f45ee2744deac348d981b127c4ab5c7f1ee8 /src/rpcserver.cpp
parentadd estimateSmartFee to the unit test (diff)
downloaddiscoin-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.cpp')
-rw-r--r--src/rpcserver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp
index 8bda5a037..83d2c2d50 100644
--- a/src/rpcserver.cpp
+++ b/src/rpcserver.cpp
@@ -319,6 +319,8 @@ static const CRPCCommand vRPCCommands[] =
{ "util", "verifymessage", &verifymessage, true },
{ "util", "estimatefee", &estimatefee, true },
{ "util", "estimatepriority", &estimatepriority, true },
+ { "util", "estimatesmartfee", &estimatesmartfee, true },
+ { "util", "estimatesmartpriority", &estimatesmartpriority, true },
/* Not shown in help */
{ "hidden", "invalidateblock", &invalidateblock, true },