BR Academy
0%
Governance and Maintenance·Lesson 28 of 37·10 min

How Bitcoin Upgrades: Soft Forks, Hard Forks, and BIPs

The Concept

Protocol changes to Bitcoin go through Bitcoin Improvement Proposals (BIPs) — public, numbered documents that describe a specific proposed change in detail, posted openly for developers, node operators, and the wider community to discuss, criticize, and revise before (if ever) it is adopted. There is no vote that formally ratifies a BIP; adoption happens the way "who-runs-bitcoin" describes — node operators choosing to run software that enforces it, and miners choosing to build on blocks that comply with it.

Proposed changes fall into two technical categories with very different risk profiles. A soft fork tightens the existing rules: anything that is valid under the new, stricter rules is also valid under the old rules, which means upgraded and non-upgraded nodes can continue to coexist on the same chain — non-upgraded nodes simply don't enforce the new, tighter restriction themselves, but they still accept blocks that satisfy it, since those blocks also satisfy the old, looser rules. A hard fork loosens or otherwise changes the rules in a way that is incompatible with old software — a block valid under the new rules might be rejected by old software as invalid — meaning every node must upgrade, or be left on a separate chain that has permanently diverged from the upgraded one.

A typical BIP's path, when one is proposed, runs through several informal but well-established stages: a draft is posted and discussed publicly, often revised extensively based on technical criticism; if it gains enough rough consensus among developers and node operators that it is worth attempting, a specific, usually conservative activation mechanism is chosen — commonly requiring a high threshold of miners to signal readiness over a set window of blocks before the new rule actually begins being enforced network-wide. This deliberately slow, public, and reversible-until-the-last-moment process (a proposal can simply fail to gain enough signaling and never activate at all) is itself a direct expression of the governance model covered in the next lesson: no authority can simply declare a BIP active.

Worked Example

Study one real, well-documented upgrade: Segregated Witness (SegWit), proposed and specified in BIP 141, activated as a soft fork in August 2017. SegWit restructured how transaction signature data is stored and counted toward a block's size limit — a change that made certain previously-valid-but-wasteful transaction formats no longer the most efficient option, without making any block that old software considered valid suddenly become invalid. Because SegWit only tightened what new rules considered "optimally formed" while remaining backward-compatible with old validation logic, non-upgraded nodes continued operating normally on the same chain as upgraded nodes throughout and after activation — no split occurred, exactly the coexistence property a soft fork is designed to preserve.

Contrast this with a hypothetical hard-fork scenario: a proposed change that increases the maximum block size beyond what old software's validation rules permit. A block built under the new, larger limit would be rejected as oversized by any node still running old software, which would refuse to accept it and continue following whatever chain is built using the old rules instead — producing two permanently separate chains, each considered "the real Bitcoin" by the nodes following its specific rules, unless every single node operator chooses to upgrade in step.

It is worth tracing why SegWit's own activation path took real, public effort rather than happening instantly once the BIP was written. Its specific activation mechanism required a high percentage of mined blocks to signal readiness over a defined window; early signaling fell short of that threshold for an extended period, reflecting genuine, public disagreement within the community about the change and competing proposals for how to address the same underlying block-size and transaction-malleability concerns. Only after continued public technical discussion, revised proposals, and eventually sufficient miner signaling did the original BIP 141 activate — a concrete illustration that a technically sound proposal does not activate on its technical merits alone; it activates only once the real-world coordination described in "who-runs-bitcoin" actually happens.

Exercise

Explain why a soft fork can activate without every single node operator upgrading immediately, while a hard fork cannot — your answer should reference the backward-compatibility property specifically (a soft fork's stricter rules still satisfy the old rules; a hard fork's changed rules do not). Then state which type of change — soft fork or hard fork — carries the higher risk of permanently splitting the network into two separate, coexisting chains. Finally, explain in one or two sentences why SegWit's activation took an extended public process rather than activating immediately once BIP 141 was written.

Recap

  • BIPs are public proposals, discussed openly; there is no formal vote, only real-world adoption by node operators and miners choosing to run and build on software that enforces the change, typically via a defined miner-signaling activation threshold.
  • A soft fork tightens the rules in a backward-compatible way, letting upgraded and non-upgraded nodes coexist; a hard fork changes the rules incompatibly, requiring universal upgrade or risking a permanent split.
  • SegWit (BIP 141, 2017) is a documented, real example of a soft fork that activated without splitting the network, but only after an extended public process of discussion and miner signaling — the specific case this lesson traced from proposal to adoption.

Resources

  • BIP 141, "Segregated Witness (Consensus layer)" (github.com/bitcoin/bips/blob/master/bip-0141.mediawiki).
  • BIPs index and process description (github.com/bitcoin/bips).
  • Bitcoin Optech, "Segwit" topic resources (bitcoinops.org).