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

@@ -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 },