The Tech Quiz - Season 31

in hive-109435 •  2 months ago  (edited)


Greetings to All



I hope you are all enjoying the beautiful days of your life. I am here to participate in the The tech quiz S4B season 31. Let's discuss todays topic Consensus Mechanisms in Blockchain.

freepik-export-20240613050910bD3p.jpeg

Designed by Freepik



What is a Consensus Mechanism?



A consensus mechanism is a process that is used by the blockchain Technology. It is actually process that is used to achieve agreement with all participants or nodes in the network.

It make sure that everyone in the network agree on the data and transactions that are recorded on the blockchain. This is really important because it keeps the blockchains secure and trustworthy without the need of Central authority to overcheck the process.



Popular Consensus Mechanisms



There are many types of consensus mechanism and is type have its on advantages and disadvantages.Here are some popular one.

1. Proof of Work (PoW)

Proof of work is one of the oldest and famous one consensus mechanism in the PoW miners complete the solution of difficult mathematical problems to validate the transactions and add them to the blockchain.

image.png

Image taken from Source

The minor that is able to solve the problem first gets add the new block and any return rewarded with the cryptocurrency

  • it is a secure mechanism and it is very difficult to attack on it and change the blockchain because the attacker will need lot of computing power.

  • it uses a lot of energy and electricity for solving problems so for more transactions it takes longer time.

2. Proof of Stake (PoS)

Proof of stake is another consensus mechanism that select the validators that are based on the number of tokens they are holding and staking.
Validators are chosen to add new blocks and confirm transactions.

  • it uses comparatively less energy and electricity so that transactions can be processed more quickly.

  • People that have more taken have more power so they are leaders.

DPoS

Delegated proof of stake is similar to proof of stack but it involves these take holders voting for small number of delegate who validate transaction and add the blocks.

image.png

Image taken from Source

  • As in this process few delegates are involved so this process is quick.
(PBFT)

It is designed to work even if there are some notes that fail in the network or act maliciously. It requires majority of the nodes to agree on the state of network.

  • it can handle failures and attacks without compromising the network and also the transactions are confirmed faster.

  • On the other hand It is not very scaleable because performance can decrease as network grows and it becomes complex.

5. Proof of Authority (PoA)

Group of authority mostally relies on the small number of approved nodes to validate the transactions and create new blocks. These nodes are chosen on the ways of trust.

  • It is very efficient in the way that high transaction can be procedure.
  • It is relies on few authorities which can be point to failures that is its major disadvantage.
6.Proof of Brain

Proof of brain is a concept that is within they blocks and cryptocurrency community. Our Steemit is operated on the proof of brain.Steemit utilising a mechanism proverb brain to distributes native cryptocurrency Steem.

This mechanism reward users for creating and creating the content.Rewards are based on the merit and on the contribution of the users that actually participate in activities and share their content regularly.



Which Consensus Mechanism Does Bitcoin Use?



Bitcoin uses the consensus mechanism of proof of work and there are many reasons behind the question that why Bitcoin use proof of work.

  • proof of work makes it very difficult for anyone to alter the blockchain because they need a huge computing resources

  • PoW allows many minors from the word to participate and in this way a single entity does not control the whole.

  • It effectively protected the Bitcoin from attacks and fraud.

How Proof of Work Operates in Bitcoin

Minors use the powerful computers to solve difficult cryptographic puzzle and this involve finding number called as nonce. And when this is combined with blocks data it is passed through a hash function that will meet certain criteria.

image.png

Image taken from Source

The minor that firstly solve the puzzle at the new block and receive newly created bitcoins and any transaction fees from the transaction included in the block.

When the block is added other nodes in the network verify it and update their copies of blockchain. To keep the creation time around 10 minutes the difficulty of the puzzle are just every 2 weeks based on how much mining power is in the network.

There are also many challenges such as this process consumption a lot of energy
Consensus mechanism are important for blockchain to operate as I have discussed their types and lastly the Bitcoin use proof of work that is secure and effective.

So that was all from my side about the topic and I hope that you all will like to read the post and support the content

I would like to invite

to participate in the contest

Thanks for Reading
Regards @mateenfatima
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

STEEM DREAM TEAM

Your post has been successfully curated by our team via @steemdoctor1 at 40%.

Thank you for your committed efforts, we urge you to do more and keep posting high-quality content for a chance to earn valuable upvotes from our team of curators and why not be selected for an additional upvote later this week in our top selection.



Loading...