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
Merge #15911: Use wallet RBF default for walletcreatefundedpsbt
d6b3640 [test] walletcreatefundedpsbt: check RBF is disabled when -walletrbf=0 (Sjors Provoost)
9ed062b [doc] rpc: remove "fallback to" from RBF default help (Sjors Provoost)
4fcb698 [rpc] walletcreatefundedpsbt: use wallet default RBF (Sjors Provoost)
Pull request description:
The `walletcreatefundedpsbt` RPC call currently ignores `-walletrbf` and defaults to not use RBF. This PR fixes that.
This PR also replaces UniValue in `ConstructTransaction` with a `bool` in preparation of moving this helper method out of the RPC codebase entirely. This may be a bit overkill, but does slightly simplify it.
Fixes #15878
ACKs for top commit:
achow101:
Code Review ACK d6b3640
l2a5b1:
re-ACK d6b3640
MarcoFalke:
ACK d6b3640
Tree-SHA512: 55b9bccd1ef36b54f6b34793017dc0721103099ad3761b3b04862291ee13d6915915d4dbb1a8567924fa56e5e95dfe10eec070e06701610e70c87f8ea92b2a00
{"subtractfeefromamount", RPCArg::Type::BOOL, /* default */"false", "The fee will be deducted from the amount being sent.\n"
361
361
" The recipient will receive less bitcoins than you enter in the amount field."},
362
-
{"replaceable", RPCArg::Type::BOOL, /* default */"fallback to wallet's default", "Allow this transaction to be replaced by a transaction with higher fees via BIP 125"},
363
-
{"conf_target", RPCArg::Type::NUM, /* default */"fallback to wallet's default", "Confirmation target (in blocks)"},
362
+
{"replaceable", RPCArg::Type::BOOL, /* default */"wallet default", "Allow this transaction to be replaced by a transaction with higher fees via BIP 125"},
363
+
{"conf_target", RPCArg::Type::NUM, /* default */"wallet default", "Confirmation target (in blocks)"},
364
364
{"estimate_mode", RPCArg::Type::STR, /* default */"UNSET", "The fee estimate mode, must be one of:\n"
{"address", RPCArg::Type::STR, RPCArg::Optional::OMITTED, "Subtract fee from this address"},
816
816
},
817
817
},
818
-
{"replaceable", RPCArg::Type::BOOL, /* default */"fallback to wallet's default", "Allow this transaction to be replaced by a transaction with higher fees via BIP 125"},
819
-
{"conf_target", RPCArg::Type::NUM, /* default */"fallback to wallet's default", "Confirmation target (in blocks)"},
818
+
{"replaceable", RPCArg::Type::BOOL, /* default */"wallet default", "Allow this transaction to be replaced by a transaction with higher fees via BIP 125"},
819
+
{"conf_target", RPCArg::Type::NUM, /* default */"wallet default", "Confirmation target (in blocks)"},
820
820
{"estimate_mode", RPCArg::Type::STR, /* default */"UNSET", "The fee estimate mode, must be one of:\n"
0 commit comments