Bitcoin BIP9 Versionbits Explained: Signaling, Lock-In, and Activation
BIP9 describes a deployment mechanism for some Bitcoin soft forks using a designated bit in the block header version field. It separates miners' readiness signals from the moment upgraded nodes actually enforce new consensus rules. BIP9 is one activation design, not an eternal requirement for Bitcoin upgrades.
Block version signaling
The 32-bit nVersion field can carry versionbits signals. Under BIP9, a deployment selects a bit, start time, timeout, and a threshold measured over a fixed difficulty-adjustment period of 2,016 blocks on Bitcoin mainnet. Signaling indicates a miner set the relevant bit; it does not prove that every validating node upgraded or that the miner will always produce compliant blocks.
BIP9 deployment states
DEFINED: the deployment has not reached its start condition.
STARTED: signaling is counted during eligible periods.
LOCKED_IN: the signaling threshold was met in the preceding period; activation is scheduled after this lock-in period.
ACTIVE: upgraded nodes enforce the new rules.
FAILED: the deployment timed out without reaching lock-in under its specified conditions.
State transitions occur at period boundaries, not on each signaling block. BIP9 uses Median Time Past (MTP) for its start and timeout checks, rather than simply comparing the computer's current wall clock to a deadline.
The threshold and why it matters
The original BIP9 mainnet design uses 1,916 of 2,016 blocks (approximately 95%) to reach lock-in. This is a deployment parameter, not a general Bitcoin consensus rule applying to every activation. Different deployments may use other methods or parameters. Counting a high percentage of signaling blocks does not turn signaling into a vote by all Bitcoin users.
Lock-in is not enforcement
A block signaling readiness is not automatically subject to the proposed rule merely because its version bit is set. The activation state determines when upgraded nodes begin applying new validation checks. Before ACTIVE, signaling and deployment progress are distinct from consensus enforcement.
Activation alternatives
Bitcoin has also used mechanisms other than plain BIP9. BIP8 specifies a related height-based activation approach with a configurable lock-in-on-timeout behavior. Taproot's actual deployment used Speedy Trial parameters specified in BIP341 and the relevant implementation, rather than an open-ended assumption that every BIP9 deployment is identical.
Primary references
BIP9 — Version bits with timeout and delay: https://github.com/bitcoin/bips/blob/master/bip-0009.mediawiki
BIP8 — Version bits with lock-in by height: https://github.com/bitcoin/bips/blob/master/bip-0008.mediawiki
BIP341 — Taproot consensus rules: https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki
