spec-bip-0141-mediawiki
Specifies Segregated Witness (BIP141): moves signatures and scripts into a separate witness committed via coinbase, fixing malleability and enabling a block weight limit.
Schemes: SegWit, BIP141, BIP143, BIP16, BIP62, P2WPKH, P2WSH, Lamport signatures
Findings (quotes checked against the source text)
-
Moving signatures into a separate witness makes transaction IDs independent of signature data, removing nonintentional malleability.
Since signature data is no longer part of the transaction hash, changes to how the transaction was signed are no longer relevant to transaction identification.
-
Block size is replaced by a composite weight limit where base data counts 3x and total data 1x.
The new rule is ''block weight'' ≤ 4,000,000.
-
Witness programs with unknown version bytes 1 to 16 are reserved, so new script systems can be added by soft fork.
If the version byte is 1 to 16, no further interpretation of the witness program or witness stack happens, and there is no size restriction for the witness stack.
-
The paper names Lamport signatures as a quantum-resistant script system that a future witness could carry.
Examples of new script systems include Schnorr signatures, which reduce the size of multisig transactions dramatically; Lamport signatures, which are quantum computing resistant
Numbers (as extracted, not quote-checked)
- Block weight limit: 4,000,000
- Witness program size range: 2 to 40 bytes
- P2WSH maximum witnessScript size: 10,000 bytes
For builders
The witness-version extension mechanism is a reusable pattern for a PQ chain to add new signature schemes without a hard fork, though this BIP itself does not define any PQ scheme.
Limits
Pre-quantum Bitcoin spec; PQ content is a single passing mention of Lamport signatures, with no PQ scheme specified or analyzed.
Topics: chain-design bitcoin-migration implementation-sidechannel