You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"\nBumps the fee of an opt-in-RBF transaction T, replacing it with a new transaction B.\n"
3258
3258
"An opt-in RBF transaction with the given txid must be in the wallet.\n"
3259
3259
"The command will pay the additional fee by reducing change outputs or adding inputs when necessary. It may add a new change output if one does not already exist.\n"
3260
-
"If `totalFee` is given, adding inputs is not supported, so there must be a single change output that is big enough or it will fail.\n"
3260
+
"If `totalFee` (DEPRECATED) is given, adding inputs is not supported, so there must be a single change output that is big enough or it will fail.\n"
3261
3261
"All inputs in the original transaction will be included in the replacement transaction.\n"
3262
3262
"The command will fail if the wallet or mempool contains a transaction that spends one of T's outputs.\n"
3263
3263
"By default, the new fee will be calculated automatically using estimatesmartfee.\n"
3264
3264
"The user can specify a confirmation target for estimatesmartfee.\n"
3265
-
"Alternatively, the user can specify totalFee, or use RPC settxfee to set a higher fee rate.\n"
3265
+
"Alternatively, the user can specify totalFee (DEPRECATED), or use RPC settxfee to set a higher fee rate.\n"
3266
3266
"At a minimum, the new fee rate must be high enough to pay an additional new relay fee (incrementalfee\n"
3267
3267
"returned by getnetworkinfo) to enter the node's mempool.\n",
3268
3268
{
3269
3269
{"txid", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The txid to be bumped"},
if (!pwallet->chain().rpcEnableDeprecated("totalFee")) {
3329
+
throwJSONRPCError(RPC_INVALID_PARAMETER, "totalFee argument has been deprecated and will be removed in 0.20. Please use -deprecatedrpc=totalFee to continue using this argument until removal.");
3330
+
}
3328
3331
totalFee = options["totalFee"].get_int64();
3329
3332
if (totalFee <= 0) {
3330
3333
throwJSONRPCError(RPC_INVALID_PARAMETER, strprintf("Invalid totalFee %s (must be greater than 0)", FormatMoney(totalFee)));
0 commit comments