Skip to content

Commit 985d28c

Browse files
author
MarcoFalke
committed
Merge #14297: [RPC] Remove warning for removed estimatefee RPC
1eb9a9b [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
2 parents f5035f9 + 1eb9a9b commit 985d28c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/rpc/mining.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -795,12 +795,6 @@ static UniValue submitheader(const JSONRPCRequest& request)
795795
throw JSONRPCError(RPC_VERIFY_ERROR, state.GetRejectReason());
796796
}
797797

798-
static UniValue estimatefee(const JSONRPCRequest& request)
799-
{
800-
throw JSONRPCError(RPC_METHOD_DEPRECATED, "estimatefee was removed in v0.17.\n"
801-
"Clients should use estimatesmartfee.");
802-
}
803-
804798
static UniValue estimatesmartfee(const JSONRPCRequest& request)
805799
{
806800
if (request.fHelp || request.params.size() < 1 || request.params.size() > 2)
@@ -978,7 +972,6 @@ static const CRPCCommand commands[] =
978972

979973
{ "generating", "generatetoaddress", &generatetoaddress, {"nblocks","address","maxtries"} },
980974

981-
{ "hidden", "estimatefee", &estimatefee, {} },
982975
{ "util", "estimatesmartfee", &estimatesmartfee, {"conf_target", "estimate_mode"} },
983976

984977
{ "hidden", "estimaterawfee", &estimaterawfee, {"conf_target", "threshold"} },

0 commit comments

Comments
 (0)