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.cpp | |
| 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.cpp')
| -rw-r--r-- | src/rpcserver.cpp | 2 |
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 }, |