Soft Fork
- Category
- Blockchain
- Level
- Professional
Simple definition
A rule change that only narrows what is allowed. Old software still accepts the new blocks, so the network does not have to split.
Professional definition
A backward-compatible tightening of validation rules: the set of valid blocks shrinks, so blocks produced under the new rules stay valid under the old ones. Non-upgraded nodes follow along without knowing the rules changed, which makes activation mainly a coordination problem among block producers.
Technical definition
Because the new rule set is a subset of the old one, non-upgraded nodes accept upgraded blocks but cannot enforce the added constraint; in effect they trust upgraded producers to enforce it. If enough production weight enforces the rule, it holds chain-wide. The risk is asymmetric: a non-upgraded node can be served a chain it believes valid while upgraded nodes reject it, and if producer support falls away the restriction can quietly lapse.
Academic definition
A restriction of a protocol's validity predicate such that newly produced valid blocks remain valid under the prior predicate, preserving backward compatibility for non-upgraded verifiers.
Mechanism
Compatibility is what buys the smooth path: an old node checks fewer conditions, so a block satisfying more conditions still passes its test. That asymmetry is also the weakness — the old node is no longer enforcing the full rule set, so it is relying on others rather than verifying for itself.
In practice
- Who uses it
- Protocol developers, mining pools and validators deciding whether to enforce, node operators, and exchanges planning upgrade windows.
- Why it matters
- It is the lower-risk way to add a constraint, since users who do nothing are not forced off the network.
- Limitations
- It can only tighten rules, never relax them, and non-upgraded users get weaker guarantees than they think they have.
Common mistakes
- Believing a soft fork needs no action from a node operator who wants full validation.
- Assuming it cannot split the chain if producer support is divided.
- Describing any backward-compatible change as risk-free.
Examples
A change that makes a previously unrestricted field carry a required meaning is a soft fork: old nodes read the field as before and still accept the block, while upgraded nodes enforce the new requirement.
A library that stops lending more than three books at a time has tightened its rules. Readers who never heard of the change notice nothing, because every loan they see still fits the old rulebook.
Related terminology
Hard Fork
A soft fork narrows the valid set, so old nodes still accept new blocks. A hard fork widens or changes it, so old nodes reject them and must upgrade.
Sources
O'Reilly · 2017 · chapter on consensus attacks and changing the consensus rules: soft fork semantics
Print source
Ethereum Foundation · entries for fork and upgrade activation
https://ethereum.org/glossary/ URL verified
Editorial status
Written, not yet reviewed.
