Overview
A hard fork occurs when a blockchain network undergoes a radical, backward-incompatible software protocol update. Because the new rules conflict with the original programming, network nodes must upgrade their software to continue participating in the network. If the community is divided on the changes, a hard fork can permanently split the blockchain into two distinct, independent networks with separate transaction histories and cryptocurrencies.
How Hard Forks Work
Public blockchains operate through decentralized consensus maintained by independent nodes running protocol software. When developers publish fundamental rule changes:
- Upgraded Nodes: Adopt the new rules and process transactions on the updated chain.
- Legacy Nodes: Reject new blocks as invalid and continue operating under the old rules.
Because old nodes cannot read or validate blocks produced by updated software, network participants are forced to choose between adopting the update or staying on the legacy chain.
Hard Forks vs. Soft Forks
- Hard Fork: Backward-incompatible. Non-upgraded nodes cannot interact with the updated chain, requiring universal node software upgrades.
- Soft Fork: Backward-compatible. Legacy nodes can still process transactions and validate blocks produced by updated nodes, requiring only a majority of validators to adopt the change.
Primary Reasons for Hard Forks
- Routine Network Upgrades: Implementing critical performance enhancements, scaling solutions, or new smart contract capabilities.
- Security Interventions: Repairing severe protocol bugs or reversing malicious attacks (such as network exploits).
- Governance & Community Splits: Resolving fundamental disputes regarding the direction, philosophy, or economics of a project.
Real-World Examples
- Ethereum (ETH) & Ethereum Classic (ETC): Following the 2016 DAO hack, Ethereum executed a hard fork to return stolen funds to token holders. A portion of the community rejected this decision, preserving the original chain as Ethereum Classic.
- Bitcoin (BTC) & Bitcoin Cash (BCH): Disagreements over block size limits and transaction throughput led to a 2017 hard fork that created Bitcoin Cash.
- Planned Protocol Upgrades: Blockchains frequently use planned hard forks for consensus updates (such as Ethereum's post-Merge staked ETH withdrawals) or governance shifts (such as Cardano's decentralization updates).
