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
bumpfee: Allow original change position to be specified
If the user used a custom change address, it may not be detected as a
change output, resulting in an additional change output being added to
the bumped transaction. We can avoid this issue by allowing the user to
specify the position of the change output.
{"outputs", RPCArg::Type::ARR, RPCArg::Default{UniValue::VARR}, "New outputs (key-value pairs) which will replace\n"
1017
1017
"the original ones, if provided. Each address can only appear once and there can\n"
1018
-
"only be one \"data\" object.\n",
1018
+
"only be one \"data\" object.\n"
1019
+
"Cannot be provided if 'reduce_output' is specified.",
1019
1020
OutputsDoc(),
1020
1021
RPCArgOptions{.skip_type_check = true}},
1022
+
{"reduce_output", RPCArg::Type::NUM, RPCArg::DefaultHint{"not set, detect change automatically"}, "The 0-based index of the output from which the additional fees will be deducted. In general, this should be the position of change output. Cannot be provided if 'outputs' is specified."},
0 commit comments