28
28
#include < util/translation.h>
29
29
#include < util/url.h>
30
30
#include < util/vector.h>
31
+ #include < validation.h>
31
32
#include < wallet/coincontrol.h>
32
33
#include < wallet/context.h>
33
34
#include < wallet/feebumper.h>
@@ -3377,6 +3378,7 @@ RPCHelpMan signrawtransactionwithwallet()
3377
3378
static RPCHelpMan bumpfee_helper (std::string method_name)
3378
3379
{
3379
3380
bool want_psbt = method_name == " psbtbumpfee" ;
3381
+ const std::string incremental_fee{CFeeRate (DEFAULT_MIN_RELAY_TX_FEE).ToString (FeeEstimateMode::SAT_VB)};
3380
3382
3381
3383
return RPCHelpMan{method_name,
3382
3384
" \n Bumps the fee of an opt-in-RBF transaction T, replacing it with a new transaction B.\n "
@@ -3399,7 +3401,7 @@ static RPCHelpMan bumpfee_helper(std::string method_name)
3399
3401
{" conf_target" , RPCArg::Type::NUM, /* default */ " wallet -txconfirmtarget" , " Confirmation target in blocks\n " },
3400
3402
{" fee_rate" , RPCArg::Type::AMOUNT, /* default */ " not set, fall back to wallet fee estimation" ,
3401
3403
" \n Specify a fee rate in " + CURRENCY_ATOM + " /vB instead of relying on the built-in fee estimator.\n "
3402
- " Must be at least 1 " + CURRENCY_ATOM + " /vB higher than the current transaction fee rate.\n "
3404
+ " Must be at least " + incremental_fee + " " + CURRENCY_ATOM + " /vB higher than the current transaction fee rate.\n "
3403
3405
" WARNING: before version 0.21, fee_rate was in " + CURRENCY_UNIT + " /kvB. As of 0.21, fee_rate is in " + CURRENCY_ATOM + " /vB.\n " },
3404
3406
{" replaceable" , RPCArg::Type::BOOL, /* default */ " true" , " Whether the new transaction should still be\n "
3405
3407
" marked bip-125 replaceable. If true, the sequence numbers in the transaction will\n "
0 commit comments