RateCity.com.au
  1. Home
  2. Cryptocurrency
  3. Articles
  4. What are blockchain forks, and why do they occur?

What are blockchain forks, and why do they occur?

Vidhu Bajaj avatar
Vidhu Bajaj
- 5 min read
What are blockchain forks, and why do they occur?

Cryptocurrencies operate over a technology called the blockchain, which is a peer-to-peer network used as a digital ledger. The blockchain was designed to be decentralised, which means it is not governed by any entity but managed by peers on the blockchain network. Decisions on the blockchain, like validating if a transaction is authentic, happen based on consensus mechanisms. 

But what happens when a consensus cannot be reached, or developers want to change the underlying technology? In such cases, the chain may undergo a split, and each split is called a 'fork'.

Forks in a blockchain may also be created to build new functionalities or address security risks. 

What is forking in blockchain?

In blockchain technology, forking is a process where the chain splits into two parts (called forks). What happens to each fork depends on the type of forking that occurs and on the consensus reached by the peers on each fork.

A fork can be created by accident or intentionally. Intentionally created forks are further divided into soft forks and hard forks. 

An accidental fork is created when two (or more) miners on the blockchain mine the same block simultaneously, and both blocks are committed. Because the blocks are duplicates and there is a discrepancy in the network, the chain temporarily splits to continue operating without any downtime, and each block forms a fork.

In the case of accidental forks, the network eventually corrects itself as one fork gets longer (as peers choose to add new blocks to this fork) and is considered the correct fork, and the other one is eliminated.

On the other hand, a fork is intentionally created when peers on the network decide to make permanent changes to the underlying technology. The chain splits into two forks – one running on the old rules and the other running on the new rules. Whether both forks continue to exist or only one survives depends on the type of fork and the consensus reached by the peers on the network. A fork that is intentionally created can be one of two types – a soft or a hard fork.

What is a soft fork?

A soft fork is created when the blockchain gets an update that is accepted by all peers on the network, such as a security upgrade that is necessary for the safety of the data on the blockchain. While the chain does split into two forks, the new update implemented on the soft fork is backward compatible, which means it is accepted by the original chain that is still using the old rule. In the case of a soft fork, the updated rules are adopted as a standard, and all peers agree to continue operating over the updated chain.

An example of a soft fork is the fork that was created when Bitcoin underwent the SegWit update that introduced a new class of addresses called Bech32. A node on the network using the older P2SH addresses could still do a valid transaction with a node using the new Bech32 type address, making the update backward compatible. In simpler words, both forks could work with each other.

What is a hard fork?

Sometimes, peers on the network are not in agreement with each other regarding a certain upgrade. For instance, a set of developers may want to implement some changes to improve the blockchain, but not everybody on the network agrees. In such cases, it's possible to modify the cryptocurrency's source code and create a hard fork – permanently splitting the blockchain into two parts or forks. These two chains can now operate independently. The new chain (the one with the update) is called a hard fork because it undergoes a permanent split from the original chain. A hard fork, more often than not, results in a new cryptocurrency.

An example of a hard fork is the fork that was created when Bitcoin's network split to launch Bitcoin Cash to reduce transaction processing time and costs.

Hard fork vs soft fork: What's the difference?

Both hard forks and soft forks result from a blockchain split, but they are quite the opposite in nature. The difference between a hard fork and a soft fork is their relationship to the original chain from which each is created.

A soft fork is backward compatible, which means both chains in the split accept the new rules. You can think of a soft fork as an upgrade to the existing chain. Once a soft fork is introduced, developers generally continue on the new chain while the older chain becomes orphaned (it continues to exist but is no longer used).

In contrast, the two chains are not compatible in the case of a hard fork, often leading to a permanent split and the creation of a new cryptocurrency. Both chains can exist and operate independently after a hard fork. 

How is network forking relevant to you?

If you have purchased a cryptocurrency (or you plan on doing so), it's important to stay up-to-date with the latest information, including details about new forks that occur. 

For instance, a hard fork could give rise to a competing cryptocurrency, which may affect the value of your investment, and you might want to take action. Alternatively, the cryptocurrency you hold may cease to exist because a new version replaces it after a soft fork. Users are generally notified and given time to migrate to the latest version in such cases. It's good to be aware and stay ahead of such changes so as to not lose your investment. 

ratecity-newsletter

Subscribe to our newsletter

Compare cryptocurrency exchanges

Promotedcryptocurrency

Swyftx

Cryptocurrencies available: 245

Fiat Currencies Accepted: AUD, NZD

Trading Fee: 0.6%-0% based on a rolling 30 day's trading volume

Withdrawal Fee: $0 for AUD/ Deposit's withdrawals. Network transaction fees apply while transferring coins to an external wallet

Deposit Fees: No POLi fees. No fees on cryptocurrency and PayID deposits. Credit/Debit card deposits supported (5% fee)

An Australian owned and operated digital currency exchange that allows users to sell, trade and buy Bitcoin, and over 245+ other digital assets, with low trading fees and one of the smallest spreads available.

Promotedcryptocurrency

CoinJar

Cryptocurrencies available: 57

Fiat Currencies Accepted: AUD, GBP

Trading Fee: 0%-1%

Withdrawal Fee: No fee for AUD or GBP withdrawals. Cryptocurrency withdrawal fees are based on blockchain network fees

Deposit Fees: No fees with PayID; 2% fee with credit / debit card, Apple Pay, and Google Pay

Australia's longest-running cryptocurrency exchange with over 500,000 Australian customers and a simple to use app for both iOS and Android.

cryptocurrency

Digital Surge

Cryptocurrencies available: 245

Fiat Currencies Accepted: AUD

Trading Fee: 0.1%-0.5% based on a rolling 30 day trading volume.

Withdrawal Fee: None for Australian bank accounts - Instant withdrawals through Osko/PayID.

Deposit Fees: No fees for Osko/PayID, Direct Deposit, Bank Transfers or cryptocurrency. POLi fees range from $2-$3.30.

Because simplicity makes life better. The easiest way for Australians to buy, sell & store over 245+ cryptocurrencies. Low fees, tight spreads, Aussie-based customer support & an interface that makes crypto enjoyable & easy-to-understand. Simple. Safe. Stress-free.

cryptocurrency

CoinSpot

Cryptocurrencies available: 263

Fiat Currencies Accepted: AUD

Trading Fee: 0.1% to 1% based on order type

Withdrawal Fee: None for Australian Bank Accounts

Deposit Fees: No fees for POLi, PayID, Direct Deposit and Bank Transfers. 0.9% BPAY fee, 2.5% cash fee

Australia’s most trusted exchange since 2013.

cryptocurrency

Cointree

Cryptocurrencies available: 280+

Fiat Currencies Accepted: AUD

Trading Fee: 0.05%-0.9%

Withdrawal Fee: No fee with fiat withdrawals. Cryptocurrency withdrawal fees vary.

Deposit Fees: No fee

Buy, sell, trade and pay with crypto. Simple, low fees, easy to use and trusted by 100,000+ members. Enjoy $10 BTC credit after verification with promo code: RATE10

This information does not reflect any ranking, rating, recommendation or endorsement by RateCity of cryptocurrency or any specific provider. RateCity is providing factual information supplied by providers. Not all providers or products are shown. RateCity will earn a fee from the providers displayed in the table (if a link to the provider's website is shown), and the fee levels determine placement in the table. Cryptocurrencies are speculative, complex and can involve significant risks. RateCity is not providing a recommendation for your individual circumstances.

Product database updated 04 May, 2024

This article was reviewed by Personal Finance Editor Peter Terlato before it was published as part of RateCity's Fact Check process.