21Relay
Advanced curriculum
Lesson 315 minReviewed July 2026

Soft Forks and Hard Forks

Protocol upgrades are distinguished by how their new validity rules interact with nodes that have not upgraded.

Learning outcomes

By the end of this lesson, you should be able to

  • Soft forks restrict the set of valid blocks.
  • Hard forks can make blocks valid that old nodes reject.
  • Activation coordinates when upgraded rules begin.
  • Node operators ultimately choose the software and rules they enforce.
1

Compatibility sets

A soft fork tightens validity rules, so blocks valid under the new rules remain acceptable to older nodes. Older nodes do not enforce the new restriction themselves.

A hard fork expands or otherwise changes validity rules in a way that older nodes may reject, requiring coordinated adoption to avoid a persistent chain split.

2

Activation and coordination

Deployment mechanisms can signal readiness or establish an activation point, but signaling is not a substitute for validation. Upgraded nodes enforce the new rules when activation conditions are met.

3

Operational risk

Operators must understand software versions, activation status and the rules they choose to enforce. Protocol changes are socio-technical events because software, miners, businesses and users must coordinate around predictable behavior.

Visual recap

Old and new validation sets

The direction of compatibility determines whether older nodes can follow upgraded blocks.

01

Proposed rule

02

Compatibility review

03

Deployment

04

Activation

05

Independent enforcement

Key takeaways

  • Soft forks restrict the set of valid blocks.
  • Hard forks can make blocks valid that old nodes reject.
  • Activation coordinates when upgraded rules begin.
  • Node operators ultimately choose the software and rules they enforce.

Lesson recap

Check what you learned

Reveal each model answer, then honestly mark whether you understood it or need another review.

1 of 3

Recall

Why can an old node usually continue following blocks produced under an activated soft fork?

References

Further reading

Lesson progress

Loading progress...

Rate this lesson

Was this lesson helpful?

No name or financial information is collected.

Found inaccurate or outdated information? Report a correction