diff options
author | Alex Morcos <morcos@chaincode.com> | 2017-06-29 13:57:33 -0400 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2017-07-17 10:52:14 -0400 |
commit | 439c4e8ad5871f59d87ae2ab77fe01aa6fe41414 (patch) | |
tree | f2233305929505927b54e090be38488417df8b5d /src/rpc/client.cpp | |
parent | 91edda8f3c81ba5a69f44485f20d74f85ec9cee1 (diff) |
Improve api to estimatesmartfee
Change parameter for conservative estimates to be an estimate_mode string.
Change to never return a -1 for failure but to instead omit the feerate and
return an error string. Throw JSONRPC error on invalid nblocks parameter.
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r-- | src/rpc/client.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 775ad4b6c9..1ab1956124 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -114,7 +114,6 @@ static const CRPCConvertParam vRPCConvertParams[] = { "getrawmempool", 0, "verbose" }, { "estimatefee", 0, "nblocks" }, { "estimatesmartfee", 0, "nblocks" }, - { "estimatesmartfee", 1, "conservative" }, { "estimaterawfee", 0, "nblocks" }, { "estimaterawfee", 1, "threshold" }, { "prioritisetransaction", 1, "dummy" }, |