BIP34: clarify encoding for early blocks #2342

pull ajtowns wants to merge 2 commits into bitcoin:master from ajtowns:202611-bip34-early changing 1 files +10 −0
  1. ajtowns commented at 5:31 PM on November 3, 2026: contributor

    BIP34 is ambiguous regarding blocks 1-16: it specifies both "minimally encoded CScript" and "first byte is number of bytes in the number" which differ for those blocks. Bitcoin Core requires minimally encoded CScript, and the existing signet and testnet4 chains have blocks complying with that interpretation. Update the BIP to clarify this.

  2. jonatack added the label Proposed BIP modification on Nov 3, 2026
  3. jonatack approved
  4. jonatack commented at 8:15 PM on November 3, 2026: member

    ACK

  5. murchandamus commented at 9:52 PM on November 3, 2026: member

    Sounds reasonable. Could you please add a Changelog section, a changelog entry for this change, and the corresponding Version header?

  6. ajtowns force-pushed on Nov 4, 2026
  7. ajtowns force-pushed on Nov 4, 2026
  8. ajtowns commented at 10:58 AM on November 4, 2026: contributor

    Changelog/version added.

  9. BIP34: Add version header and changelog section 4e3f4a95a7
  10. BIP34: clarify encoding for early blocks d433c2e35d
  11. in bip-0034.mediawiki:47 in 1a5b18fa3e
      42 | +
      43 | +* 1.0.0: 2012-07-06: proposed
      44 | +* 1.0.1: 2016-02-01: updated to Final, logged activation block
      45 | +* 1.0.2: 2016-02-05: correction to format prediction regarding sign bit
      46 | +* 1.0.3: 2020-11-18: clarify that encoding must be minimal
      47 | +* 1.0.4: 2026-11-04: clarify encoding for early blocks
    


    murchandamus commented at 11:11 PM on November 4, 2026:

    Most recent version first, please.


    ajtowns commented at 7:40 AM on November 5, 2026:

    bumped

  12. ajtowns force-pushed on Nov 5, 2026
  13. murchandamus commented at 5:20 PM on November 5, 2026: member

    ACK

  14. murchandamus merged this on Nov 5, 2026
  15. murchandamus closed this on Nov 5, 2026

  16. murchandamus removed the label Proposed BIP modification on Nov 5, 2026
  17. murchandamus added the label Fixups on Nov 5, 2026

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-11-14 21:10 UTC

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