Control which taproot script path to spend (#33084) #35702

pull kallal79 wants to merge 1 commits into bitcoin:master from kallal79:fix-issue-33084-taproot-script-paths changing 5 files +47 −4
  1. kallal79 commented at 1:18 PM on July 10, 2026: none
    • PSBTFillOptions (src/common/types.h): Introduced keypath_only (bool) and taproot_script_path (optional hex string) fields.
    • PSBT Signing (src/psbt.cpp): Updated SignPSBTInput to intercept the script data inside SignatureData::tr_spenddata.scripts before passing them to ProduceSignature. This prevents the wallet from appending unused taproot scripts into the PSBT.
    • RPC Support (src/wallet/rpc/spend.cpp & src/rpc/rawtransaction.cpp): Added keypath_only and taproot_script_path as optional arguments to both walletprocesspsbt and descriptorprocesspsbt.
    • Client Mapping (src/rpc/client.cpp): Registered keypath_only in vRPCConvertParams so that bitcoin-cli properly casts it as a boolean.

    Fixes #33084.

  2. wallet: control which taproot script path to spend (#33084) 77eb353e32
  3. DrahtBot commented at 1:18 PM on July 10, 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/35702.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

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

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  4. sedited commented at 2:20 PM on July 10, 2026: contributor

    Closing this for the same reason as stated in #35703 . @kallal79 you are required to explain your changes and why they are implemented in the way they are in your own words to contribute here.

  5. sedited closed this on Jul 10, 2026


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-07-11 18:51 UTC

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