Steemit Crypto Academy Contest / S4W4 - Blockchain ForkssteemCreated with Sketch.

in SteemitCryptoAcademy2 years ago


Yellow Modern Food Cooking Tutorial Youtube Thumbnail.png
Background Image created on canvas


Hi steemians,
It is the last week of this season's engagement challenge and I'm so delighted to be among those participating in this week's contest. This week the topic is Blockchain Forks and I will be attempting the questions below in response to the contest. Let's get started.

mine.PNG

Using your terms to define what is a fork in general?

mine.PNG

The word fork in blockchain technology is a term used whenever there seems to be any form of change in the protocol of blockchain technology. We know that blockchain today is used in almost every aspect of our daily lives ranging from finance, medicals etc., hence the need to always improve it to meet the demands of the people.

Most times, there tends to be some sort of modification needed to meet the demand of the people and that change is what we call the blockchain fork. Developers of the blockchain always sort for ways to make the blockchain more user-friendly and also to ease every process and when they come up to implement these changes, we call it a blockchain fork.

Since blockchain is an open-source code different developers can make modifications to suit their test without affecting others, blockchain forks are of two categories I.e soft fork and hard fork. There are cases, where the developers may not necessarily reach a consensus agreement between themselves before a change will be made on the blockchain.

This is because some may prefer the way everything is functioning at the moment whereas others will need a change to suit their activities. In this regard, the blockchain fork can take place with two existing protocols I.e the new and the old chain.

As I have earlier stated above, blockchain forks happen to improve the functionalities I.e either the security, scalability, transparency etc of the blockchain which gives users more confidence and assurance that their data is well kept.

mine.PNG

Using any blockchain example, explain what a Hard Fork is.

mine.PNG

When we talk about a hard fork in the blockchain, we are referring to a scenario where the proposed change to be carried out in the blockchain is not accepted by all. This means that a group of developers will accept the new change whereas another part of the developers won't accept the changes. When this happens, it will result in a disagreement between the sets of developers leading to the formation of separate blockchains in which one will be the former existing and the other a new one.

Having understood what a hard fork is all about, let's see a scenario where this occurred for more clarification. As I have stated above, many reasons can lead to a blockchain fork and one of them is scalability.

In the case of our dear number one crypto asset I.e BTC, it has a block size of 1 megabyte and its transaction speed is about 7 TPS. A proposal was made by Mike Hearn to increase the block size from 1 megabyte to 8 megabytes and the transaction speed from about 7 TPS to about 24 TPS. This gave rise to Bitcoin XT in 2014. This protocol of the blockchain didn't stay long because many didn't accept it hence it died off.

In 2017, we had another hard fork which lead to the creation of Bitcoin cash. Here, the developers seek to increase the block size from 1 megabyte to 2 megabytes. A whole lot of nodes accepted this change unlike the case of XT which didn't receive acceptance from many nodes which lead to its death. Today the Bitcoin Cash hard fork gave us the BCH crypto asset. The screenshot below was taken from the coin market cap.

IMG_20220925_045403.jpg
Source

Details of these coins as at the time of writing this task can be seen in the table below.

Rank#30
Price$117.15
Contracts0xef3cebd77e0c52cb6f60875d9306397b5caca375
Market Cap$2,247,359,276
Volume$247,459,996
Circulating Supply19,183,062.50 BCH

mine.PNG

Using any blockchain example, explain what a Soft Fork is.

mine.PNG

When we talk about a soft fork in the blockchain, we are referring to a scenario where there is an upgrade in the blockchain software which does not necessarily create a separate chain. What this means is that there will be some features that will be upgraded in which even if you decide to use the old version you are still allowed just that the new functionalities added won't be visible to you until you have updated it.

A clear example of the soft fork is the regular updates we see every 2 or 3 weeks on the binance platform. These updates are mostly done to ensure your security but whether or not you do it, you still have access to perform your transaction effective. But if you do it, the new features added to the app will be visible to you for use.

An example of the soft fork is the segregated witness (SegWit) which took place in the bitcoin blockchain. The essence of this update is to separate or remove the signature of the witness from the block as it is seen as something occupying space where transactions are supposed to be stored. This update helps to free up more space and also makes storage of transactions more faster and effective I.e more transactions are then stored in a faster way on the bitcoin blockchain.

This implies that the nodes that are upgraded store more transactions in a faster way than those nodes that are not upgraded. Though the upgraded ones only store transactions without storing the signature of the witness whereas the older version which has not received an upgrade stores both witness's signature and transaction. The upgraded stores have more transactions than the ones not upgraded.

mine.PNG

What are the differences between Hard Forks and Soft Forks?

mine.PNG

The difference between hard forks and soft forks can be seen in the table below.

Hard ForksSoft Forks
The changes that occur here split the chains into two different once I.e a new chain and an old chain which also result in the creation of new coins for the new chain.Here, the changes that occur do not lead to the splitting of the chain rather it only improves it hence no new tokens are created.
Due to this separation, what works on the old chain won't work on the new chain since they are separatedWhat works in the upgraded version can still work in the old version provided they are the same functionalities.
Big disagreement I.e too many nodes not agreeing with each other leads to this type of forkAlmost all the nodes here agree and for that reason, the upgrade is seen as an optional task that you can choose to do or not.
In terms of compatibility, this fork is not backwards compatible because the new chain sees everything in the old chain as invalidIn this case, this type of fork is backwards compatible as it communicates effectively with the nodes whether it is upgraded or not.

mine.PNG

Explain the Steem and Hive Hard fork by showing the similarities/differences in their Genesis blocks.

mine.PNG

The steemit platform was in existence since 2016and it has been working as a decentralized social media platform that rewards content creators with their native token called steem and SBD. In 2020, there was an integration of the TRX and Steemit where it is aimed to give steemains more rewards. Today we see that steemians earn in both Steem, SBD and TRX.

This integration didn't go so well with lots of developers hence there was no agreement among them and that led to a hard fork of creating the hive blockchain on March 2020. The aim of the platform is still the same as a blogging platform that rewards content creators. But since this is a hard fork an entirely different token was created for the new chain which is the Hive token and HBD.

From the genesis block of both Steemit and Hive, we can see that both of block 1 are identical. From the screenshots below the witness, timestamp, virtual operations, transaction etc are all the same. This is because at this stage hive has not started producing blocks and that is why the block information of that of steem is utilised in both.

IMG_20220925_105328.jpg
Genesis Block Steemit

IMG_20220925_105309.jpg
Genesis Block Hive

The difference in these blocks is seen when both have separated and work independently of each other. Let's take block number 61,000,000 as a case study. From the screenshot below, you will notice that the witness, timestamp, virtual operations, transaction etc are all different because at this stage hive blockchain is working independently fromm the steem blockchain.

IMG_20220925_105348.jpg
Block 61,000,000 Steemit

IMG_20220925_105252.jpg
Block 61,000,000 Hive

mine.PNG

Conclusion

mine.PNG

Forking has to do with changes in the software to meet the need of the people at any point in time. We have two different types of blockchain forking which are the soft fork and the hard fork. The soft fork has to do with an upgrade to better the working of the system whereas the hard fork has to do with separation or splitting the chains into two and all of them being independent of each other hence all have their tokens.

Sort:  
Loading...

Hello friend!
I'm @steem.history, who is steem witness.
Thank you for witnessvoting for me.
image.png
please click it!
image.png
(Go to https://steemit.com/~witnesses and type fbslo at the bottom of the page)


CONGRATULATIONS

This post has been upvoted with @steemcurator09/ Curated by: @wase1234

 2 years ago 

Thanks for the support @wase1234

 2 years ago 

You have given an awesome explanation about blockchain fork, the types of changes, upgrade, and fork depends on the agreement between the miners, stakeholders, and developers, a hard fork happens when there is no agreement between them but a soft fork, upgrade are done with some agreement between the developers and stakeholders.

Thank you for sharing and good luck with the contest friend.

 2 years ago 

Thanks for the comment @temitopef

You shared about the blockchain Fork in detail and I stumbled on the language you shared well and regularly. I also shared about blockchain Fork.

Blockchain forking is actually a method in which the changing our modifications are made in the pre existing rules or codes kf a blockchain. Also, the addition of new and advanced features innthe blockchain are also the forks.

When we talk about a soft fork in the blockchain, we are referring to a scenario where there is an upgrade in the blockchain software which does not necessarily create a separate chain.

Yes brother, you are very right here. There is no event of creation of a new blockchain in the soft fork as this event occurs in the hard fork. This is the beauty of the soft forking of a blockchain that the oarent chain remains the same.

Thank you very much for sharing your beautiful post with us and I wish you a very good luck for the contest 🤞

 2 years ago 

Thanks for your wonderful comment my friend.

 2 years ago 

Forking are nice but can be a dangerous tool, in the sense that when kept in the wrong hands or wrong companies, it could be used for selfies reasons to manipulate others just like the case of steemit and hive.

Thank you very much for sharing, please you can check my own entry here

wishing you success

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.034
BTC 63900.40
ETH 3140.82
USDT 1.00
SBD 3.98