Fixes #32661.
Depends on #35405 from which the first 2 commits are added here and will be removed when this PR is undrafted.
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35433.
<!--021abf342d371248e50ceaed478a90ca-->
See the guideline for information on the review process. A summary of reviews will appear here.
<!--174a7506f384e20aa4161008e828411d-->
Reviewers, this pull request conflicts with the following ones:
maxfeerate wallet startup option by ismaelsadeeq)If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
<!--5faf32d7da4f0f540f40219e4f7537a3-->
Possible places where named args for integral literals may be used (e.g. func(x, /*named_arg=*/0) in C++, and func(x, named_arg=0) in Python):
self.nodes[0].createrawtransaction([...], {}, 0, True) in test/functional/wallet_deprecated_rbf.pyPossible places where comparison-specific test macros should replace generic comparisons:
test/functional/wallet_bumpfee.py: assert node.getbalance() < 49 -> use assert_greater_than(49, node.getbalance())<sup>2026-06-02 12:06:39</sup>
I will add test case for bumpfee and psbtbumpfee along with release note.
<!--85328a0da195eb286784d51f73fa0af9-->
🚧 At least one of the CI tasks failed.
<sub>Task lint: https://github.com/bitcoin/bitcoin/actions/runs/26763283466/job/78882570147</sub>
<sub>LLM reason (✨ experimental): CI failed because the Python lint (ruff) reported an error—an unused import MAX_BIP125_RBF_SEQUENCE in test/functional/rpc_psbt.py.</sub>
<details><summary>Hints</summary>
Try to run the tests locally, according to the documentation. However, a CI failure may still happen due to a number of reasons, for example:
Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch.
A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test.
An intermittent issue.
Leave a comment here, if you need help tracking down a confusing failure.
</details>
I will add test case for bumpfee and psbtbumpfee along with release note.
Done now.
With the nodes running fullrbf, wallet doesn't need to opt into RBF. This patch
switches the default of wallet rbf to false. Users still have the option to
optin RBF via the individual transaction (and PSBT) creation RPCs - for now.
Post deprecation of -walletrbf startup option and removal of the same
option from the wallet_bumpfee.py test, the second node in this test
is no longer a rbf node, so update its name to reflect so.
Also update the rbf_node_address correspondingly.
Tested RPCs: createrawtransaction, fundrawtransaction, createpsbt, bumpfee
walletcreatefundedpsbt, send, sendtoaddress, sendmany, sendall, psbtbumpfee.