diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-09-24 08:20:55 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-09-24 08:20:57 -0400 |
commit | 985d28cc90eda7f637b47cda78e74099d3df8734 (patch) | |
tree | 613ed3cd808204f5ae2fb73ccbb2d6a598c92393 /src | |
parent | f5035f9d0fae2ea35ef2ce32307b7ef8d455e10d (diff) | |
parent | 1eb9a9b524a82157e65180e85a832bd721388459 (diff) |
Merge #14297: [RPC] Remove warning for removed estimatefee RPC
1eb9a9b524 [RPC] Remove warning for removed estimatefee RPC (John Newbery)
Pull request description:
The RPC was removed in a previous version, but a warning was
left for users to use the estimatesmartfee RPC. Remove that warning now
that estimatefee has been gone for over one version.
Tree-SHA512: 7fb440a354a5058f9e95930306d7fe0c1cba6563b9a44b7388a17d9e5c3cff42023f5aa1728fd94a1a11249ea4a8615a8a891afe4fa81ae46b61c2aa08e9cc47
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/mining.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index b1bea85fef..809f614301 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -795,12 +795,6 @@ static UniValue submitheader(const JSONRPCRequest& request) throw JSONRPCError(RPC_VERIFY_ERROR, state.GetRejectReason()); } -static UniValue estimatefee(const JSONRPCRequest& request) -{ - throw JSONRPCError(RPC_METHOD_DEPRECATED, "estimatefee was removed in v0.17.\n" - "Clients should use estimatesmartfee."); -} - static UniValue estimatesmartfee(const JSONRPCRequest& request) { if (request.fHelp || request.params.size() < 1 || request.params.size() > 2) @@ -978,7 +972,6 @@ static const CRPCCommand commands[] = { "generating", "generatetoaddress", &generatetoaddress, {"nblocks","address","maxtries"} }, - { "hidden", "estimatefee", &estimatefee, {} }, { "util", "estimatesmartfee", &estimatesmartfee, {"conf_target", "estimate_mode"} }, { "hidden", "estimaterawfee", &estimaterawfee, {"conf_target", "threshold"} }, |