Skip to main content

Soft Fork | Bitcoin Glossary | Mapping Bitcoin

Soft Fork

Protocolo

A backward-compatible change to Bitcoin's consensus rules that tightens existing rules (making some previously valid blocks/transactions invalid). Non-upgraded nodes still accept new blocks, though they may not fully validate the new rules. SegWit and Taproot were soft forks.

Overview

A soft fork is a change to Bitcoin's consensus rules that is backward-compatible with older software. It works by narrowing the set of valid blocks or transactions — anything valid under the new rules is also valid under the old rules, but not necessarily vice versa. This means non-upgraded nodes continue to follow the chain without being forked off the network.

How Soft Forks Differ from Hard Forks

                    Soft Fork                    Hard Fork
              ┌──────────────────┐        ┌──────────────────┐
  Old Rules:  │  Valid blocks    │        │  Valid blocks     │
              │  ┌────────────┐  │        │                   │
  New Rules:  │  │ Valid      │  │        │        ┌─────────┼──┐
              │  │ blocks     │  │        │        │ Valid   │  │
              │  │ (subset)   │  │        │        │ blocks  │  │
              │  └────────────┘  │        │        │(new set)│  │
              └──────────────────┘        └────────┼─────────┘  │
                                                   └────────────┘
  New rules are a SUBSET             New rules EXPAND beyond
  of old rules                       old rules

With a soft fork, upgraded miners enforce stricter rules while non-upgraded nodes see all new blocks as valid. With a hard fork, non-upgraded nodes reject new blocks entirely, causing a chain split.

Notable Bitcoin Soft Forks

  • P2SH (BIP16, 2012): Introduced pay-to-script-hash addresses for simpler multisig.
  • SegWit (BIP141, 2017): Segregated witness data, fixing transaction malleability and increasing effective block capacity.
  • Taproot (BIP340-342, 2021): Introduced Schnorr signatures and MAST for improved privacy and smart contract flexibility.

Activation Mechanisms

Soft forks have used several activation methods, including miner signaling via version bits (BIP9), user-activated soft forks (UASF via BIP148), and Speedy Trial (BIP8). The choice of activation mechanism is often one of the most contentious aspects of a soft fork proposal.

Common Misconceptions

A soft fork does not mean a "minor" or "soft" change. Soft forks can introduce fundamental new capabilities (as SegWit and Taproot demonstrated). The term refers strictly to backward compatibility, not to the significance of the change.