Skip to content

Commit c377fea

Browse files
author
MarcoFalke
committed
Merge #11267: rpc: update cli for estimate*fee argument rename
5acd82d rpc: make estimatesmartfee argument naming consistent with documentation (Wladimir J. van der Laan) 24697c4 rpc: update cli for estimatefee argument rename (Wladimir J. van der Laan) Pull request description: The first argument of `estimaterawfee` was renamed from `nblocks` to `conf_target` in 06bcdb8. Update the client-side table as well. This makes #10753 pass again. Tree-SHA512: 107c0072a45e0f4e083dc803d534973e6bd4c005e62337a867815d7c98ab1c21d97b7a495c32763883975cbbb001b80003001a6709b7d9bdd81ce4d441b667be
2 parents b37cab6 + 5acd82d commit c377fea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/rpc/client.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ static const CRPCConvertParam vRPCConvertParams[] =
115115
{ "keypoolrefill", 0, "newsize" },
116116
{ "getrawmempool", 0, "verbose" },
117117
{ "estimatefee", 0, "nblocks" },
118-
{ "estimatesmartfee", 0, "nblocks" },
119-
{ "estimaterawfee", 0, "nblocks" },
118+
{ "estimatesmartfee", 0, "conf_target" },
119+
{ "estimaterawfee", 0, "conf_target" },
120120
{ "estimaterawfee", 1, "threshold" },
121121
{ "prioritisetransaction", 1, "dummy" },
122122
{ "prioritisetransaction", 2, "fee_delta" },

src/rpc/mining.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ static const CRPCCommand commands[] =
978978
{ "generating", "generatetoaddress", &generatetoaddress, {"nblocks","address","maxtries"} },
979979

980980
{ "util", "estimatefee", &estimatefee, {"nblocks"} },
981-
{ "util", "estimatesmartfee", &estimatesmartfee, {"nblocks", "estimate_mode"} },
981+
{ "util", "estimatesmartfee", &estimatesmartfee, {"conf_target", "estimate_mode"} },
982982

983983
{ "hidden", "estimaterawfee", &estimaterawfee, {"conf_target", "threshold"} },
984984
};

0 commit comments

Comments
 (0)