test: remove usages of MAX_BIP125_RBF_SEQUENCE constant from functional tests #35442

pull rkrux wants to merge 13 commits into bitcoin:master from rkrux:rbfsequence-test changing 18 files +400 −310
  1. rkrux commented at 1:46 PM on June 2, 2026: contributor

    Partially fixes #32661.

    Depends on #35433 from which the first 11 commits are added here and will be removed when this PR is undrafted. Only the last 2 commits are specific to this PR.

    This is in line with the removal and deprecation of BIP 125 RBF signalling from the codebase.

  2. wallet: switch default wallet rbf from true to false
    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.
    b74ffabcff
  3. doc: update release notes of PR 34917 to mention new default wallet rbf value aa722b592a
  4. wallet, rpc: deprecate replaceable argument in bumpfee, psbtbumpfee RPCs d7efd0f89c
  5. wallet, test: replace rbf_node with node in wallet_bumpfee.py
    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.
    5870df54ca
  6. wallet, rpc: deprecate replaceable argument in sendall RPC 6d7e895a63
  7. wallet, rpc: deprecate replaceable argument in walletcreatefundedpsbt, fundrawtransaction f6b690bfcb
  8. wallet, rpc: deprecate replaceable argument in send RPC 590865b645
  9. wallet, rpc: deprecate replaceable argument in sendtoaddress, sendmany RPCs f5e33e2bee
  10. wallet, rpc: deprecate replaceable argument in createrawtransaction, createpsbt 32494df131
  11. wallet, test: add test cases for deprecated RBF features
    Tested RPCs: createrawtransaction, fundrawtransaction, createpsbt, bumpfee
    walletcreatefundedpsbt, send, sendtoaddress, sendmany, sendall, psbtbumpfee.
    ed7e67ef8b
  12. doc: update release notes of 34917 mentioning `replaceable` deprecation 17d9368760
  13. test: remove usage of MAX_BIP125_RBF_SEQUENCE constant in non-wallet tests
    Remove the usage in all the tests where used except the ones where the
    sequence is set to unique values to avoid creating duplicate transactions
    simultaneously.
    8e8765e46d
  14. test: remove usages of MAX_BIP125_RBF_SEQUENCE in wallet tests except one
    Its usage is preserved only in wallet_deprecated_rbf.py and thus the constant
    is moved there. This will be removed as well in the next release when BIP 125
    deprecated stuff is removed.
    7e4a0c57fc
  15. DrahtBot added the label Tests on Jun 2, 2026
  16. DrahtBot commented at 1:46 PM on June 2, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35442.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #35405 (wallet: switch default optinrbf from true to false by rkrux)
    • #35100 (rpc: Merge joinpsbts locktimes correctly by nervana21)
    • #32468 (rpc: generateblock to allow multiple outputs by polespinasa)
    • #29278 (Wallet: Add 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-->

    LLM Linter (✨ experimental)

    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):

    • walletcreatefundedpsbt(..., False) in test/functional/rpc_psbt.py
    • walletcreatefundedpsbt(..., True) in test/functional/rpc_psbt.py

    <sup>2026-06-02 13:47:25</sup>


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-06-04 10:51 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me