Fork
A fork occurs when there is a divergence in the blockchain’s history, typically caused by a protocol upgrade or a disagreement among network participants regarding rules. A ‘soft fork’ is a backward-compatible upgrade, while a ‘hard fork’ creates a permanent divergence, resulting in two separate blockchains. In open-source systems, forks allow developers to copy the existing codebase and launch a new project or version, ensuring that the community always has the power to evolve the protocol.Definition
A fork occurs when there is a divergence in the blockchain’s history, typically caused by a protocol upgrade or a disagreement among network participants regarding rules. A ‘soft fork’ is a backward-compatible upgrade, while a ‘hard fork’ creates a permanent divergence, resulting in two separate blockchains. In open-source systems, forks allow developers to copy the existing codebase and launch a new project or version, ensuring that the community always has the power to evolve the protocol.Simple explanation
Imagine you and your friends are walking down a path, and then the path splits into two. A fork is when a blockchain splits into two different versions because of a software change or an argument about the rules.Why it matters
Forks provide a mechanism for democratic evolution in decentralized systems. They allow the community to upgrade the protocol or resolve fundamental disagreements about the network’s future.How it works
When a node’s software is updated with new rules, it may no longer be compatible with older nodes. If the change is significant enough, the blockchain splits. Participants then choose which version of the chain to support by updating their client software.Real-world example
Bitcoin Cash was created from a hard fork of the Bitcoin blockchain in 2017 due to disagreements over block size limits.Advantages
- Allows for protocol upgrades
- Enables community-driven governance
- Provides alternative project paths
Limitations
- Can lead to community fracturing
- Risks network security dilution
- Confusion for users regarding asset ownership
Common misconceptions
- Forks are often assumed to be negative, but they are essential for progress. People also think you ‘lose’ your original coins, when usually you simply own assets on both chains.
Related knowledge
- Blockchain — term
- Governance — term
- Soft Fork — term
Canonical knowledge ID:
glossary:fork