@@ -1022,21 +1022,19 @@ static RPCHelpMan submitheader()
1022
1022
static RPCHelpMan estimatesmartfee ()
1023
1023
{
1024
1024
return RPCHelpMan{" estimatesmartfee" ,
1025
- " \n Estimates the approximate fee per kilobyte needed for a transaction to begin\n "
1026
- " confirmation within conf_target blocks if possible and return the number of blocks\n "
1027
- " for which the estimate is valid. Uses virtual transaction size as defined\n "
1028
- " in BIP 141 (witness data is discounted).\n " ,
1029
- {
1030
- {" conf_target" , RPCArg::Type::NUM, RPCArg::Optional::NO, " Confirmation target in blocks (1 - 1008)" },
1031
- {" estimate_mode" , RPCArg::Type::STR, /* default */ " CONSERVATIVE " , " The fee estimate mode.\n "
1025
+ " \n Estimates the approximate fee per kilobyte needed for a transaction to begin\n "
1026
+ " confirmation within conf_target blocks if possible and return the number of blocks\n "
1027
+ " for which the estimate is valid. Uses virtual transaction size as defined\n "
1028
+ " in BIP 141 (witness data is discounted).\n " ,
1029
+ {
1030
+ {" conf_target" , RPCArg::Type::NUM, RPCArg::Optional::NO, " Confirmation target in blocks (1 - 1008)" },
1031
+ {" estimate_mode" , RPCArg::Type::STR, /* default */ " conservative " , " The fee estimate mode.\n "
1032
1032
" Whether to return a more conservative estimate which also satisfies\n "
1033
1033
" a longer history. A conservative estimate potentially returns a\n "
1034
1034
" higher feerate and is more likely to be sufficient for the desired\n "
1035
1035
" target, but is not as responsive to short term drops in the\n "
1036
- " prevailing fee market. Must be one of:\n "
1037
- " \" UNSET\"\n "
1038
- " \" ECONOMICAL\"\n "
1039
- " \" CONSERVATIVE\" " },
1036
+ " prevailing fee market. Must be one of (case insensitive):\n "
1037
+ " \" " + FeeModes (" \"\n\" " ) + " \" " },
1040
1038
},
1041
1039
RPCResult{
1042
1040
RPCResult::Type::OBJ, " " , " " ,
0 commit comments