BIP376: keep PSBT_IN_WITNESS_UTXO after finalization #2276

pull bitsagarob wants to merge 1 commits into bitcoin:master from bitsagarob:patch-1 changing 1 files +1 −1
  1. bitsagarob commented at 9:07 AM on September 4, 2026: none

    BIP 174 says the Input Finalizer keeps the UTXO so the Transaction Extractor can verify the final transaction, and its finalized example PSBT does keep it. This BIP's Finalizer section requires removing PSBT_IN_WITNESS_UTXO. None of the finalizers I checked do that: Core's FinalizePSBT, Sparrow's clearNonFinalFields, rust-psbt's Input::finalize and rust-miniscript all keep it. Removing it also breaks partially finalized PSBTs: BIP 341 sighashes commit to every spent output, so once one input is finalized this way no remaining taproot input can be signed (Core's PrecomputePSBTData fails without all UTXOs).

  2. BIP376: keep PSBT_IN_WITNESS_UTXO after finalization c8cbc9804e
  3. nymius commented at 2:59 PM on September 7, 2026: contributor

    ACK c8cbc9804e4a9695ed118c9306b20795eacfdc00

    Thanks for reviewing! You're right, this is an error, the extractor should be able to verify the network serialized transaction.

Contributors

github-metadata-mirror

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

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