diff options
| author | Alex Morcos <[email protected]> | 2017-06-29 13:57:33 -0400 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-07-17 10:52:14 -0400 |
| commit | 439c4e8ad5871f59d87ae2ab77fe01aa6fe41414 (patch) | |
| tree | f2233305929505927b54e090be38488417df8b5d /src/rpc/client.cpp | |
| parent | Merge #10803: Explicitly search for bdb5.3. (diff) | |
| download | discoin-439c4e8ad5871f59d87ae2ab77fe01aa6fe41414.tar.xz discoin-439c4e8ad5871f59d87ae2ab77fe01aa6fe41414.zip | |
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 775ad4b6c..1ab195612 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" }, |