Glossary · Blockchain basics
Published 28 Apr 2025 · Updated 21 Oct 2026 · 15 min read
A fork in blockchain is a split of one chain's history, rules or code into two versions that share everything before the split. Most forks involve two competing blocks, with the network choosing one within a block or two. Others change rules or create a separate chain and coin. Developers also fork code.
A fork can mean six different things, from competing blocks to copied software. This overview separates them before examining activation, security and examples. Dedicated entries cover hard forks, soft forks and ommer blocks. First identify whether someone means a branch, a rule change or a codebase.
| Meaning | What diverges | How long it lasts | Example |
|---|---|---|---|
| Temporary fork | What divergesTwo valid blocks compete at the same height | How long it lastsThe fork usually resolves within one or two blocks | ExampleBitcoin had competing blocks at height 966,500 on 11 September 2026 |
| Soft fork | What divergesNew nodes reject blocks that older nodes accept | How long it lastsNo split occurs if most block producers enforce it | ExampleSegWit activated at block 481,824 on 24 August 2017 |
| Hard fork | What divergesOld nodes reject blocks accepted under changed rules | How long it lastsNodes that do not upgrade are left behind for good | ExampleThe Byzantium fork activated on 16 October 2017 |
| Chain split | What divergesTwo groups follow different rules and separate coins | How long it lastsBoth chains can continue indefinitely with support | ExampleBitcoin Cash began at block 478,559 on 1 August 2017 |
| Bug split | What divergesClient versions disagree about which blocks are valid | How long it lastsRecovery usually takes hours rather than blocks | ExampleOlder Geth versions split off on 11 November 2020 |
| Code fork | What divergesCopied source code becomes a separate project | How long it lastsThe forked project can continue independently of its source | ExampleLitecoin began with its own genesis block in 2011 |
Two miners can produce valid blocks at the same block height almost simultaneously. Different nodes see different blocks first and initially accept them. The temporary fork usually ends when the next block strengthens one branch. The losing block leaves the accepted history. A reorg replaces previously accepted blocks, so a payment's first appearance does not guarantee permanence.
Through 21 October 2026, eight of 53 recorded blocks belong to BIP-110. Excluding them lowers the rate from 1.26 to 1.07.
The public bitcoin-data stale-blocks dataset was downloaded on 21 October 2026. Its crowd-sourced counts are lower bounds.
Bitcoin's fork choice rule follows the most cumulative work, not simply the most blocks. A losing block is a stale block. An orphan block can instead mean one whose parent is unknown. Faster relay helped lower rates after 2015. Since 2018, observed forks reach two blocks at most, excluding Bitcoin Cash and BIP-110, in data downloaded 21 October 2026. Coinbase outputs wait 100 blocks before spending because their blocks can become stale.
Ethereum's proof-of-work ommer blocks could receive partial rewards. Under proof of stake, LMD-GHOST weights branches by attestations, while Casper FFG adds finality. A 4 September 2025 study measured reorged slots at 0.1224% before Pectra and 0.1121% afterward. Etherscan's 17 to 21 October 2026 records show about six one-block reorgs daily. A seven-block beacon reorg on 25 May 2022 preserved finality. Solana also discards branches that do not finalize.
A soft fork upgrade tightens validation rules, so blocks following them still satisfy older software. A hard fork permits blocks that old software rejects. These labels describe compatibility, not the outcome. A lasting split needs block producers to keep both branches alive. Adoption determines whether the network converges or continues along separate paths.
With most producers enforcing this model's soft fork, one chain remains. Any rule-breaking block is orphaned.
This simplified model uses eight new blocks, one rule change and no network delay.
Bitcoin favors soft forks because older nodes can follow the resulting chain without enforcing every new restriction. To them, those restrictions resemble policy rather than consensus. Ethereum instead uses a hard fork for every network upgrade. When clients upgrade together, they can still leave only one chain. The distinction concerns what each node will accept, not a promise of a new asset.
Enforcement can fail to match signaling. P2SH left 91 invalid blocks and 22 descendants between April and July 2012. BIP66 produced six-block and three-block forks in July 2015 because miners extended blocks without full validation. The BIP-110 fork required bit 4 signaling from block 961,632 on 8 August 2026, despite limited support. Its branch found eight blocks through 28 August 2026. The proposal closed on 9 August 2026 after mining stalled.
A proposed fork needs a shared activation point. Bitcoin has activated upgrades using dates, block heights and miner signaling. Ethereum coordinates client releases around scheduled triggers. Signaling does not prove miners validate new rules. A user-activated soft fork (UASF) instead depends on users enforcing them.
| Method | Where and when | What triggers it | Example |
|---|---|---|---|
| Flag day | Where and whenBitcoin used date and height triggers for forks from 2009 | What triggers itNodes enforce the upgrade at a preset height or date | ExampleBitcoin enforced nLockTime at block 31,000 on 22 December 2009 |
| Miner supermajority | Where and whenBitcoin used block versions for BIP-34's 2013 upgrade | What triggers itNew-version rules bind at 750 of 1,000, and old versions fail at 950 | ExampleBIP-34 activated at block 227,931 on 25 March 2013 |
| Version bits | Where and whenBitcoin used version bits (BIP-9) for CSV's July 2016 upgrade | What triggers itAfter 1,916 of 2,016 blocks signal, activation follows one period later | ExampleCSV activated at block 419,328 on 4 July 2016 |
| User-activated soft fork | Where and whenBitcoin's BIP-148 fork proposal targeted 1 August 2017 | What triggers itUsers enforce mandatory signaling from a preset date | ExampleBIP-91 preceded it at block 477,120 on 23 July 2017 |
| Speedy Trial | Where and whenBitcoin activated the Taproot upgrade in November 2021 | What triggers it1,815 of 2,016 must signal, with activation waiting for a minimum height | ExampleTaproot activated at block 709,632 on 14 November 2021 |
| Scheduled hard fork | Where and whenEthereum has used this method for every network upgrade since Homestead in March 2016 | What triggers itClients apply changed rules at an agreed activation point | ExampleFusaka activated at block 23,935,694 on 3 December 2025 |
Ethereum moved from block-height triggers to total difficulty for The Merge on 15 September 2022, then timestamps for upgrades with Shanghai in April 2023. On 21 October 2026, its 19 execution-layer activations include only two that produced separate coins. A fork ID (EIP-2124) helps incompatible peers disconnect. Glamsterdam reached the Sepolia testnet on 6 October 2026. Hoodi is scheduled for 26 October 2026. The Ethereum Foundation's 16 October 2026 update leaves mainnet's date undecided.
Not every protocol change needs a chain fork. Canton's logical synchronizer upgrade changes a synchronizer's protocol version while participants remain attached to the same logical synchronizer. Super validators prepare the upgrade deployment and schedule ahead of time. The process allows very limited network downtime. After 30 days, they remove the old physical synchronizer deployment.
A lasting chain split leaves two communities, two rule sets and two coins. Both inherit history and balances through their last shared block. The DAO response made an irregular state change, not an EVM rule change, at block 1,920,000 on 20 July 2016. The minority coins compared here retain much smaller relative values on 21 October 2026 than in their early snapshots.
Ethereum Classic continued without the DAO state change. Attacks reorganized thousands of its blocks in August 2020.
Values compare CoinMarketCap snapshot market caps with CoinGecko data on 21 October 2026. ETHW uses prices instead.
Replay protection prevents a signature intended for one chain from authorizing the same transaction on another. EIP-155 added a chain ID to signed data in November 2016, while old unprotected signatures remained valid. Bitcoin Cash requires SIGHASH_FORKID. Coinbase reported about $40,000 in ETC replay losses in August 2016. Ethereum Classic added chain ID 61 in January 2017. An ETHW bridge replay attack yielded 200 ETHW in September 2022 because a contract read a stored chain ID. BIP-110's August 2026 branch had no such protection.
Copied balances do not make the two assets interchangeable. Exchanges and apps need to distinguish networks before crediting payments, and service interruptions can include paused withdrawals. Smaller mining communities can leave branches exposed to reorganizations. Ethereum Classic suffered three 51% attacks in August 2020, reorganizing 3,693 blocks, about 4,000 blocks and more than 7,000 blocks. Shared history does not guarantee shared security afterward.
A consensus bug can make clients calculate different valid histories, even when nobody intends a split. These accidental forks were repaired with patches, downgrades or coordinated software updates. They differ from ordinary block races because another block alone may not restore agreement.
Block 74,638 created about 184 billion bitcoin through integer overflow. A patched client arrived within five hours, and its chain prevailed at block 74,691.
At block 225,430, Bitcoin 0.7 rejected a block accepted by 0.8 because of Berkeley DB limits. BTCGuild and Slush downgraded to restore agreement.
BIP66 reached 95% at block 363,725. Miners practicing SPV mining extended invalid block 363,731 without full validation, forming a 6-block fork on 4 July. A separate 3-block fork followed on 5 July 2015.
A consensus bug in Geth 1.4.19 and 1.5.2 split the network at block 2,686,351. Users needed Geth 1.5.3 to recover.
Older Geth versions diverged at block 11,234,873 on 11 November 2020. Infura went offline, and exchanges including Binance paused ETH and ERC-20 withdrawals.
A crafted transaction exploited older Geth versions at block 13,107,518, producing a different state root. Geth 1.10.8 had shipped the fix three days earlier.
A software fork need not divide an existing transaction history. A code fork can start a new network or adapt an application, including a decentralized exchange. The new project shares an implementation with its source, not necessarily its users, balances or consensus.
Litecoin reused Bitcoin's code but began with its own genesis block in 2011. It uses 2.5-minute blocks and 840,000-block halvings. Dogecoin also adapts Bitcoin Core.
BNB Smart Chain and Polygon Bor forked Geth, sharing potential bugs. In October 2026, op-geth is end of life and will not implement hard forks from Glamsterdam onward.
SushiSwap forked Uniswap V2 in August 2020. Its September 2020 liquidity migration moved over $800 million from Uniswap, an event known as a vampire attack.
Uniswap V2 uses GPL-3.0. V3's Business Source License became GPL-2.0 or later on 1 April 2023. V4 uses the Business Source License until 15 June 2027 at the latest.
DefiLlama lists 773 Uniswap V2 forks holding $2.276 billion on 21 October 2026. It also lists 52 Aave V3 forks holding $5.621 billion and 253 Uniswap V3 forks that day. A fork inherits useful features and potential bugs together. Independent development does not remove the need to track upstream fixes.
Checks around a fork depend on what is changing. A short reorg affects payment confidence, a rule change affects client compatibility, and a persistent branch affects transaction validity. Users and application teams can separate these risks before deciding which checks apply.
Treat payments as settled only after finality or enough block confirmations. Ethereum's JSON-RPC API offers a finalized block tag for this check.
Verify the chain ID used in EIP-155 signatures. Contracts should read CHAINID at runtime rather than trust a value stored during deployment.
Track upgrade schedules, hard fork dates and client releases. Bitcoin Core warns when an invalid chain exceeds its accepted chain by more than six blocks.
A mainnet fork copies state locally without publishing transactions. Pin its block number so runs repeat. The PixelPlex smart contract cost guide of 12 February 2026 lists fork tests that simulate real mainnet conditions.
A team planning a fork needs more than a copied repository or an activation date. Work also includes maintaining compatibility, separating transaction domains and testing application behavior. We build blockchain software and plan its ongoing maintenance. Our Canton development work includes participant node management and planning for future protocol upgrades.
In our 2020 to 2021 Rio DeFi project, we built a Substrate-based fork, adapted the EVM pallet and forked the explorer. We also built a Uniswap-based exchange prototype. For Qtum's blockchain implementation, we implemented proof-of-stake consensus on a Bitcoin fork and integrated Ethereum and WASM virtual machines.
Discuss your code and network compatibility needs
We can discuss your project context, existing dependencies and the engineering work involved in its next upgrade.
Discuss your projectGet updates about blockchain, technologies and our company
We will process the personal data you provide in accordance with our Privacy policy. You can unsubscribe or change your preferences at any time by clicking the link in any email.Services
Blockchain
Blockchain consultingStrategy, architecture, feasibility
Crypto wallet developmentSelf-custody, MPC, cards on top
Cryptocurrency exchange developmentTrading venues, liquidity and protocols
Tokenization servicesRWA, funds, collateral
Crypto payments developmentAccept, settle and pay out in crypto
Smart contracts developmentDesign, build, audit
Blockchain integration dApp development DeFi development NFTs Tokens Web3 development All blockchain services All servicesNetworks
Canton developmentDaml apps, wallets, settlement, validators
Official Partner
Ethereum developmentSmart contracts, L2s and dApps
Solana developmentHigh-throughput programs and dApps
TON developmentMini apps, wallets, Telegram ecosystem
Official Partner
Hedera developmentHashgraph apps and token services
Exclusive Partner
Hyperledger developmentPermissioned networks for enterprises
Certified Partner
Cardano Algorand Stellar Avalanche Bitcoin Polygon All networks All servicesAI & ML
AI agents developmentConnect tools and automate multi-step workflows
RAG developmentFind answers across your company’s documents and systems
AI copilot developmentAdd useful assistance to your product or internal tools
LLM developmentCustom and fine-tuned models for your domain
Private AI deploymentRun models in your own environment
AI consultingUse cases, feasibility and a roadmap
Generative AI development Machine learning development Computer vision Chatbot development ChatGPT integration Deep learning development All AI services All servicesData & analytics
Data engineeringPipelines that keep your data reliable
Data platform developmentOne source of truth for analytics
Analytics & dashboards developmentBI your teams actually use
Predictive analyticsForecasts built on your own history
Data strategyWhere data can pay off first
Data visualizationDashboards and visual stories from your data
Data science development Development of data marts All data services All servicesSoftware
Product discoveryValidate scope and cost before you build
MVP developmentA launch-ready first release
Web application developmentPlatforms, portals and internal tools
Mobile app developmentiOS, Android and cross-platform
SaaS developmentMulti-tenant products that scale
Software integrationConnect the systems you already run
Infrastructure & cloud cost UI/UX design IT consulting QA & software testing R&D Serverless development All software services All servicesSecurity & compliance
Smart contract auditsFind vulnerabilities before launch
Transaction monitoring developmentIntercepta inside your systems and processes
Security assessmentsTest apps, infrastructure and processes
Data security servicesProtect sensitive data across its lifecycle
Cloud security servicesSecure cloud workloads and configurations
DAML smart contract auditReview DAML contracts before they go live
All security services All servicesSolutions
Products, APIs and platforms
New
Products and engineering to build and operate on Canton.
In production 55M API requests served in 8 months
Crypto APIBlockchain data for your applications.
Power in numbers 6 TB Data storage. 500K Tokens indexed
RWA platformA foundation for your asset tokenization platform.
Time to launch 2–4 weeks Branding & setup. 90% more cost-efficient
DocFlowBlockchain-based document management.
Use case & value 100% Secure workflows. Zero third-party risks.
OTC Hawk Arbitrage Bot Book a solution consultWork
450+ projects. 250+ clients. 3 unicorns in portfolio
The first non-custodial wallet built natively for Canton
TON ecosystemA series of improvements for The Open Network
Mining platformEnvironmentally friendly web platform for Bitcoin pool mining
Mantra DAOCommunity-governed DeFi: 60+ staking pools, $23M TVL
Canton TON Web3 & DeFi Digital Assets & Tokenization AI & Data Intelligence IoT & Edge Computing Consulting See all projectsIndustries
Trusted by startups, small businesses, and enterprises
Banking, payments, lending, insurance, capital markets
Real estate software developmentInvestment, property operations, tokenization
Retail & commerce software developmentCommerce, loyalty and fulfillment
Supply chain software developmentTraceability and connected operations
Healthcare software developmentPatient services, data and connected systems
Banking software developmentCore banking, digital channels, payments
Fitness Education Oil & Gas Insurance Construction TravelCompany
From R&D to launch, we bring any of your ideas to life
Engineering partner. Product builder. Since 2007.
Technical experience 19+ years All competencies on board. Scalable team.
AchievementsIndustry recognition & awards.
Delivering real value 4.9 Clutch ratings. 150+ awards
Contact usDiscuss your project.
Quick response 30 min Average reply time. Offices in 6 countries
BlogDive into the latest software trends.
Fresh insights 500+ Articles in blockchain, AI, big data, AR/VR
Team Careers Social responsibility Glossary