Bitcoin SegWit Activation History: BIP141, BIP9, and the 2017 Upgrade
Segregated Witness (SegWit) changed Bitcoin transaction and block validation in 2017. Its main consensus specification is BIP141, accompanied by related changes such as BIP143's witness-v0 signature hashing and BIP147's NULLDUMMY rule. Understanding the activation history requires separating the rules themselves from the mechanisms used to coordinate deployment.
What SegWit changed
SegWit separates witness data from the traditional transaction identifier calculation, introduces a witness commitment in blocks containing witness data, and measures block capacity with weight units. Upgraded nodes validate the witness and enforce the new spending conditions. Older nodes do not perform equivalent witness validation, even if they can remain connected and follow compatible blocks.
SegWit also addressed a major form of third-party transaction-ID malleability for witness spends, though it did not eliminate every conceivable source of transaction malleability.
BIP9 versionbits deployment
BIP9 defined a miner-signaling state machine for soft-fork deployments. SegWit's initial deployment used versionbits bit 1 and activation thresholds over difficulty-adjustment periods. Signaling indicated miner readiness; it was not a substitute for full-node validation once the rules became active.
The 2017 coordination period
The activation debate involved different proposals and signaling approaches, including BIP148's user-activated soft-fork proposal and BIP91's shorter signaling mechanism. These proposals had different conditions and roles; they should not be conflated with the SegWit consensus rules specified in BIP141. Historical analysis also needs to distinguish software deployment, miner behavior, and what the economically relevant validating nodes actually enforced.
SegWit locked in on mainnet in August 2017 and became active at block height 481,824 on 24 August 2017. From activation onward, nodes enforcing SegWit rules rejected blocks violating its new consensus requirements.
Why the distinction matters
A block can advertise readiness through version bits and still be invalid for unrelated reasons. A valid-looking legacy transaction can also fail SegWit-specific validation when its witness or commitment is incorrect. Full-node verification determines whether the chain satisfies the node's consensus rules.
What SegWit did not do
SegWit did not turn Bitcoin into an account-based ledger or require every user to adopt a new address immediately. Legacy outputs and transactions remained part of the network, while SegWit introduced new spending formats and a different way to account for witness bytes.
Lessons for upgrade design
Separate four questions: What rule is being changed? Which software enforces it? How is activation coordinated? At what height or condition does enforcement begin? This framework helps explain later soft-fork discussions, including Taproot, without assuming that all upgrades used identical signaling processes.
Primary references
BIP141 — Segregated Witness: https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki
BIP9 — Version bits with timeout and delay: https://github.com/bitcoin/bips/blob/master/bip-0009.mediawiki
BIP143 — Transaction Signature Verification for Version 0 Witness Program: https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki
BIP148 — Mandatory activation of SegWit deployment: https://github.com/bitcoin/bips/blob/master/bip-0148.mediawiki
BIP91 — Reduced threshold SegWit MASF: https://github.com/bitcoin/bips/blob/master/bip-0091.mediawiki
