LLMpediaThe first transparent, open encyclopedia generated by LLMs

Segregated Witness

Generated by GPT-5-mini
Note: This article was automatically generated by a large language model (LLM) from purely parametric knowledge (no retrieval). It may contain inaccuracies or hallucinations. This encyclopedia is part of a research project currently under review.
Article Genealogy
Parent: Charlie Lee Hop 6
Expansion Funnel Raw 88 → Dedup 0 → NER 0 → Enqueued 0
1. Extracted88
2. After dedup0 (None)
3. After NER0 ()
4. Enqueued0 ()
Segregated Witness
NameSegregated Witness
Introduced2015
DeveloperBitcoin Core developers
Initial proposalBitcoin Improvement Proposal 141
ConsensusSoft fork
PurposeTransaction malleability fix and block capacity increase

Segregated Witness Segregated Witness is a protocol change proposed for Bitcoin that separates signature data from transaction data to address transaction malleability, improve block size efficiency, and enable future upgrades such as Lightning Network and Schnorr signatures. The proposal, originating in 2015 and coordinated among Wladimir van der Laan, Peter Todd, and other Bitcoin Core contributors, was formalized as Bitcoin Improvement Proposal 141 and activated on the Bitcoin network in 2017 after coordination among miners, exchanges, and wallet providers.

Background

Segregated Witness emerged amid debates involving Satoshi Nakamoto's original Bitcoin whitepaper design, disagreements between proponents associated with Blockstream and supporters of increased on-chain capacity like Bitcoin XT and Bitcoin Classic. High-profile events influencing adoption included the 2016 Blockstream vs. Bitcoin Unlimited discussions, the 2016 Scaling Bitcoin workshops, and coordination by figures such as Gavin Andresen, Gregory Maxwell, and Pieter Wuille. The concept addressed problems highlighted by incidents such as Mt. Gox withdrawal issues and by research from Chainalysis and academic groups at Massachusetts Institute of Technology and Princeton University that studied transaction malleability and double-spending. Community governance processes involving miners, exchanges, and major entities like Coinbase, Bitfinex, and Binance contributed to the signaling and deployment pathway.

Technical Design

Technically, the change creates a new transaction serialization that moves ECDSA signature data to a distinct structure called the "witness", modifying the Merkle tree commitment and altering how block size is computed via a weight units metric. The design relies on cryptographic primitives such as Elliptic Curve Digital Signature Algorithm and paves the way for Schnorr signature aggregation proposed in subsequent BIPs like BIP 340. Segregated Witness changes the UTXO validation rules, introduces a modified script handling for Pay-to-Public-Key-Hash and Pay-to-Script-Hash outputs, and uses features leveraged by Lightning Network and Taproot. The protocol preserves consensus via a soft fork mechanism, using miner signaling and version bits coordination from BIP 9 and coordination efforts resembling those used in BIP 91.

Activation and Deployment

Activation used the BIP 9 version bits method with coordination among mining pools such as Antpool, F2Pool, and Bitmain. The activation threshold was met in 2017 after signaling and a contentious period that included proposals like SegWit2x and organizations including the New York Agreement. Major software releases such as Bitcoin Core 0.13 and Bitcoin Core 0.14 implemented support, while exchanges and wallets including Blockchain.com, Electrum, Trezor, Ledger, GreenAddress, BitPay, and Coinbase rolled out integration. The deployment timeline intersected with governance discussions involving Roger Ver, Jihan Wu, and ecosystem projects such as Lightning Labs and Blockstream Satellite.

Impact on Bitcoin

After activation, the protocol reduced the practical impact of transaction malleability, enabling off-chain protocols like Lightning Network to develop, and effectively increased on-chain capacity through the new block weight accounting. Markets and services including Binance, Kraken, Bitstamp, and Gemini observed operational changes in fee estimation and mempool dynamics. Academic and industry researchers at Stanford University, University of Cambridge, and Coin Metrics analyzed fee market behavior, while developer teams from Core Lightning and lnd built features relying on witness commitments. The upgrade influenced later proposals such as Taproot and Schnorr that advanced privacy and scalability goals championed by Pieter Wuille and teams at Blockstream and Lightning Labs.

Compatibility and Criticisms

Critics including members aligned with Bitcoin Cash advocacy and some miners argued Segregated Witness introduced centralization risks by increasing reliance on certain full-node implementations and changing fee markets, echoing debates dating to The DAO-era disputes in other ecosystems like Ethereum. Concerns were raised about wallet compatibility by projects like Mycelium and exchanges such as Mt. Gox (historical reference) during migration. Technical criticisms involved complexity added to node software and potential attack surface changes noted by security researchers at Trail of Bits and audits by teams from Google Project Zero. Proponents responded that soft fork semantics and broad support from Bitcoin Core, hardware wallet vendors like Trezor and Ledger, and service providers mitigated risks.

Implementations and Software Support

Segregated Witness is implemented in major client software such as Bitcoin Core, Bitcoin Knots, and lightweight wallets like Electrum. Hardware wallets from Ledger, Trezor, and integrations in custodial services like BitGo and Gemini Custody support witness transactions. Layer-two and scaling projects including Lightning Labs's lnd, Blockstream's c-lightning, and Core Lightning rely on witness capabilities. Mining pools adapted via software from Braiins OS and firms like Bitmain updated firmware and mining stack integrations. Developer tooling support includes libraries from libbitcoin, bitcoinj, and rust-bitcoin, enabling ecosystem-wide adoption across exchanges such as Coinbase, Kraken, Bitstamp, Binance, and custodial platforms including Anchorage.

Category:Bitcoin