Segregated Witness (Consensus layer)
Segregated Witness: moves signatures to a separate witness structure, fixes malleability, introduces block weight and versioned scripts.
This BIP defines a new structure called a "witness" that is committed to blocks separately from the transaction merkle tree. This structure contains data required to check transaction validity but not required to determine transaction effects. In particular, scripts and signatures are moved into this new structure. The witness is committed in a tree that is nested into the block's existing merkle root via the coinbase transaction for the purpose of making this BIP soft fork compatible. A future hard fork can place this tree in its own branch.
Read BIP 141 on GitHubFind in explorerActivated on mainnet
SegWit · Segregated Witness — block 481,824, 2017-08-24.
Moved signatures into a separate “witness”, fixed third-party malleability, replaced the 1 MB size limit with 4 million weight units and added script versioning. It made Lightning practical.
In Bitcoin Core
Segregated Witness (Consensus Layer) as of v0.13.0, defined for mainnet as of v0.13.1, and buried since v0.19.0.
Drama
SegWit, the UASF and SegWit2x — It put the question “who activates soft forks?” to a live test, with a chain-split threat from users (BIP 148) and a hard-fork threat from businesses and miners (SegWit2x).
Covert ASICBoost and SegWit — It tied the SegWit standoff to a patent-protected mining edge, which made a technical fight look like a commercial one.
Authors
In the Bitcoin Takeover Wiki
- Segregated Witness Concepts
- Eric Lombrozo People
- Johnson Lau People
- Pieter Wuille People
Heard on Bitcoin Takeover
- S15 E50: Murch on what the UASF did▶ listen at 1:36:12timestamp transcript-derived, pending a listen
- S15 E39: Pete Rizzo on the economic majority▶ listen at 55:49timestamp transcript-derived, pending a listen
- S16 E60: Jonathan Bier — the SegWit2x cancellation and the BCH price spike▶ listen at 2:01:14timestamp transcript-derived, pending a listen
- S17 E43: Mike Belshe on the New York Agreement▶ listen at 1:13:17timestamp transcript-derived, pending a listen
- S15 E14: Nicolas Dorier on opposing SegWit2x▶ listen at 25:42timestamp transcript-derived, pending a listen