Right from explaining Bitcoin to your grandma to understanding the working of blockchain technology in laymen’s terms, we’ve extensively covered the world of cryptocurrencies. In this series of explainers, today, we’ll be discussing the concept of hard and soft forks in a blockchain network.
However, to understand the concept of working in a blockchain network, we first need to see how transactions work in a blockchain network such as Bitcoin.
Getting the Basics
Once a transaction is created on the Bitcoin blockchain, a transaction message is passed around all the nodes available through the Mempool queue. This is where all the unconfirmed transactions are waiting to be mined and validated into the ledger by miners.
Now, the miners will pick a batch of transactions not exceeding the size of 1MB from the Mempool to form a new block and validate it by solving a complex mathematical problem. Once a block is successfully mined and validated, the miner will pass around the updated ledger with this new block for all other miners to validate a new block on top of that.
It’s also worth noting that, in case more than one miner validates a new block almost simultaneously, it often results in a temporary forking of the blockchain – a chain of blocks with two separate branches. However, the Bitcoin blockchain applies the longest chain rule to discard the other chain and accept the chain with more blocks. Therefore, agreeing on the same state of the network.
Here comes the idea of a hard and soft fork in a blockchain network.
What is a Hard Fork?
A hard fork is a permanent split of a blockchain network. Usually, it occurs when a set of nodes tweak a few network rules that conflict with the current rules. Thus, splitting the blockchain into two separate networks – one with old rules and another with a new set of rules.
For example, during the block-size debates in Bitcoin in 2017, the community was divided into two segments. One side advocates increasing the block size from 1MB, while the other wants to keep it the same. Hence, the Bitcoin network split into two separate blockchains.
What is a Soft Fork?
Unlike a hard fork, soft forking a blockchain network doesn’t result in the splitting of the chain. It can be generally defined as a backward-compatible network update. This kind of forking only requires most nodes to upgrade the software version, thus resulting in an upgraded version of the network.
For example, the upcoming Taproot update of the Bitcoin network is a soft fork that will improve users’ privacy on the network. For this upgrade, only most miners will need to update their Bitcoin Core client, and the network will need a soft fork.
So, that’s all you need to know to get a basic understanding of forking in a blockchain network. If you’ve been keeping up with our blogs for the past few months, you must have a pretty good understanding of blockchain technology. Do check out HyperTrader if you’d like to try your hand at trading cryptocurrencies.
Get HyperTrader Today!