A Deeper Dive Into Blockchain Fork

2 47
Avatar for Meta_comic
3 years ago

The decentralized nature of public blockchains (e.g., bitcoin and etherium) means that participants in the network must come to an agreement about the shared status of blockchain (shared public ledger and blocks and blockchain protocol). Consensus results between network nodes result in a blockchain containing verified data (transactions) confirming that the network is valid. However, many times, the nodes in the network cannot come to a consensus on the future status of blockchain. This phenomenon leads to forks (similar to a tuning fork used in experimental science), which means that the chain of the best ‘single’ blocks is divided into two or more chains, all of which are valid.

This leads to three types of forks that can occur based on the backward-compatibility of the blockchain protocol and the time a new block was cut. These types include:

Soft fork: When the blockchain protocol is changed backwards-compliant

Hard fork: When the blockchain protocol is changed backwards-incompatibly

Temporary fork: When two miners are mining a new block at the same time

Now, it's time to dig deeper!

Soft fork -

When there is a change in the software running on the nodes (called 'full nodes') to act as a network participant, the change is validated by the old version of the software with new block mined according to the new rules (in blockchain protocol). This feature is also known as backward-compatibility.

For example:

The SegWit update of the Bitcoin network added new class addresses (Bech 32). However, this does not apply to existing P2SH addresses. A full node with a P2SH type address can make the correct transaction with the node of the Bech32 type address.

Hard fork -

When there is a change in the software running at full nodes to act as a network participant, the change is based on the new rules (in blockchain protocol) that the new blocks mined are considered invalid by the old version of the software. When hard forks occur, new currencies (with the correct original currency) such as Ethereum (original: Ethereum, new: Ethereum Classic) and Bitcoin (original: Bitcoin, new: Bitcoin cash) come into effect. Coin is distributed equally to the entire node who choose to upgrade their software without incurring any material loss. Such hard forks are often controversial (creating conflicts in the community).

The end result of joining a particular chain is with the full node. If they choose to join the new chain, they will need to upgrade the software to validate the new transactions, while the nodes that do not choose to upgrade their software will continue to operate.

For example:

The new Caspar update for Ethereum Blockchain, in which the consensus protocol changes from one type of work (Pow) to proof of stake (PoS). Nodes installing the Caspar update will use the new consensus protocol. Caspar does not match complete nodes that do not choose to install the update.

Temporary fork / accidental fork -

While many miners mine a new block almost simultaneously, the entire network disagrees with the choice of the new block. Some may accept a block mined by one party, leading to different chain of blocks , while others may agree on other alternatives (blocks) available. Such a situation arises because it takes some limited time for information to spread throughout the entire blockchain network, so there may be conflicting views on the chronology of events. In this fork, 2 or more blocks have same height.

If one of the chains dies (becomes orphaned) the temporary barricades will eventually settle themselves, as most of the whole nodes choose to add and synchronize the other blocks with the new blocks.

For example:

Temporary forks do not often occur, and a common occurrence that triggers this fork is the mining of a block by more than one party at a time.

Causes of Blockchain Fork -

Add new function:

Blockchain code is constantly being updated. Since most public blockchains are open source, it was created by people all over the world. Improvements, issues are created, resolved and new versions are released when the time is right.

Fix security issues:

Blockchain (and cryptocurrency above it) is a relatively new technology compared to the traditional currency (notes, coins, check) and research is still underway to fully understand it. Therefore, versions are pumped and updates are released to fix security issues that arise along the way.

Reverse transactions:

If all the transactions of a particular period of time are found to be infringing and malicious then the community can actually avoid them.

CHECK OUT MY OTHER ARTICLES TO EARN FREE CRYPTOCURRENCIES AND MONEY:

Make your first $1million dollars with AI.marketing

Top 8 hot Dapps ( TRX, EOS, ETH & more) - 2021

Road To Earning 8 BTC at BitStarz - 2021 review

CoinPot is closing today - 2021 review

Road To Earning 1000 Etherium on Furucombo - 2021 review

Road To Earning 35 BCH per day at WinDice - 2021 reviews

100,000,000 WikiBit Token Airdrop - 2021

Road to Earning 5 BTC at FortuneJack - 2021 reviews

7 Ways To Earn DAI - 2021

Road to Earning 100+cryptocurrencies at Idle-Empire - 2021 reviews.

7 Ways To Earn Tezos (XTZ) - 2021

ERG-network Chainlink Airdrop - 2021 valid till 20th jan 2021

7 Ways To Earn Chainlink (LINK) - 2021

Road To Earning 10 BTC at DuckDice - 2021 Reviews.

10 Ways To Earn Tether (USDT) Free - 2021

Road To Earning $ 20,000 Dollars at TrustDice.win

8 Ways To Earn Digital Cash (DASH)

Road To Earning $ 25,000 Dollars worth of Bitcoin at FreeBitco.in

11 Ways to Earn EOS - Big update

5 Ways To Earn Tron (Trx) Free - Big update

10 Ways To Earn Neo

15 Ways To Earn Ethereum (ETH)

Top 10 platforms to Earn Cryptocurrency for publishing contents.

Top 7 ways to earn tron(old version)

8 Ways To Earn Tron (TRX) (new version)

Top 6 ways to earn Ripple

8 Ways To Earn Litecoin (LTC) (new version)

7 Easy Ways to Get Litecoin for free (old version)

Top 7 ways to earn stellar lumens

Top 8 Ways To Earn Dogecoin (DOGE) For Free

Top 7 Ways To Earn Zcash(ZEC) For free

Top 7 PTC Sites to earn $1-$10 per click

Top 6 Captcha Entry Work Sites to Earn $250-$300

Top 5 websites to Get paid to listen to music

Top 5 Ways To Get Paid $1 per hour-PASSIVE INCOME

Top 7 Easy Ways to Get Paid for Searching the Web

12 Ways To Earn Bitcoin cash (BCH)

Top 10 Airdrops To Earn Free cryptocurrency Fast[September]

if you have enjoyed, please

Give me a

and

if you can please

I see you guys in the next one ,until then enjoy!

Video Credits: Annis

3
$ 5.17
$ 5.12 from @TheRandomRewarder
$ 0.05 from @Bjorn
Avatar for Meta_comic
3 years ago

Comments

Nice

$ 0.00
3 years ago

Thank you so much!

$ 0.00
3 years ago