bip174: add PSBT_IN_P2C_TWEAK to the type registry #2305

pull 0xShadowX wants to merge 1 commits into bitcoin:master from 0xShadowX:psbt-registry-p2c-tweak changing 1 files +4 −0
  1. 0xShadowX commented at 11:58 AM on September 25, 2026: contributor

    The type registry is meant to list every PSBT field so new BIPs don't pick a key type that is already taken, but the per-input table skips 0x19. That value is PSBT_IN_P2C_TWEAK from BIP-372 (Pay-to-contract tweak fields for PSBT). It was never in the per-input table of BIP-174 either, so the row got lost when the tables moved into the registry.

    This adds the row between PSBT_IN_TAP_MERKLE_ROOT (0x18) and PSBT_IN_MUSIG2_PARTICIPANT_PUBKEYS (0x1a). I also checked every PSBT_* = 0x.. definition across the BIPs against the registry, and this was the only one missing.

  2. bip174: add PSBT_IN_P2C_TWEAK to the type registry
    BIP-372 defines PSBT_IN_P2C_TWEAK = 0x19, but the per-input table in the
    type registry goes from 0x18 straight to 0x1a.
    7fb28fa640
  3. murchandamus added the label Fixups on Sep 25, 2026
  4. murchandamus commented at 2:33 PM on September 25, 2026: member

    Good catch, thanks.

  5. murchandamus merged this on Sep 25, 2026
  6. murchandamus closed this on Sep 25, 2026

Labels

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-30 16:10 UTC

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