Different types of Consensus Mechanisms - Steemit Crypto Academy Season 4 - Homework post for Task 6 by @acbaby

in SteemitCryptoAcademy3 years ago (edited)

Source

QUESTION 1
What is the difference between PoW and PoS?
Advantages and disadvantages?
Which one is better in scaling capacity?
Examples?

INTRODUCTION
Hi guys, hope we are all holding up pretty well and ready to ride along with me while we understand everything about PoW and PoS. Out of the three questions I have chosen the first question which I have made in bold above. I have divided this question into different factions to ease understanding. Seat tight while we take off.

QUESTION 1a:

What is the difference between PoW and PoS?

To understand the difference between PoS and PoW I will like us to firstly understand what a consensus mechanism is all about.
Source

The blockchain technology is build with a central aspect which is a ledger that records all previous transactions on a blockchain. This distributed ledger is not stored or controlled by a single authority but rather is found across computer networks around the world. The distribution ledger makes sure all networks agree collectively with whatever is recorded on the ledger making blockchains linked together. All of this is known to be carried out by consensus mechanisms.
There is a consensus mechanism behind the foundation of many cryptocurrencies. Therefore the are many different kinds of consensus mechanisms on the blockchain technology. The main function of a consensus mechanism is to ensure that all transactions recorded by the distributed ledger are first of all verified and valid. This process is mostly carried out by developers where they get rewards at the end of solving any problem. Verifying the record of transactions keeps cryptocurrencies free from double spending and the addition of invalid data to the distribution ledger.
I think with the above explanation one can understand what consensus mechanisms are. We can now move forward to understand what PoW and PoS are. These are the most common and popular consensus mechanisms applicable on the blockchain. They both serve the same purpose but with different methodologies of application which makes them different from each other.

To differentiate these consensus mechanisms, I will give good descriptions of the methodology of each. POW means Proof of Work and PoS means Proof of Stake. I will start by explaining what PoS is and later PoW.

CDB29E64-1800-4666-B9DB-DFC0C0EDB530.png

Proof of Stake
PoS stands for Proof of Stake and it is for the purpose of verifying and validating transactions as every other blockchain consensus mechanism. The difference comes from the methodology used in PoS which makes it unique.

Here, the creators of new blocks (that’s developers) are determined based on their stake on that block. Unlike PoW which we will see below, PoS doesn’t require solving mathematical puzzles to be rewarded. The stake a developer has on a block is the amount of pins or tokens that developer has on that block. This means the highest bidder has a higher probability of being chosen as the validation for that block. The first known cryptoasset developer to use PoS to gain validation of a block brought the cryptocurrency “Peercoin”.

CDB29E64-1800-4666-B9DB-DFC0C0EDB530.png

Proof of Work
PoW which stands for Proof of Work is know to had existed for Ben before the first existing cryptoasset (Bitcoin).

This concept was brought about by two authors in a journal of the early 90s. They are known as Moni Noar and Cynthia Dwork, and by the late 1999 the term Proof of Work was established by an author called Jakobosson Markus. About a decade later, the anonymous developer for bitcoin known as Satoshi Nakamoto on the bitcoin white paper made it clear that the single means to overpower the strength of a blockchain network is by a 51% attack. Thus, this white paper by Nakamoto proposed that the PoW consensus mechanism should be employed to prevent the majority control over bitcoin network by a single entity. Enough with the history and first application of PoW on the blockchain technology. Let’s get into the simple methodology of PoW.

With PoW miners don’t use any coin or token but rather they verify transactions that have been put together in a memory pool. This verification is done in the form of solving a mathematical puzzle and the first miner (developer) to solve this problem by verifying a complete memory pool is rewarded with the block’s (memory pool) transaction fees and with a minted BTC. This memory pool is added or attached to the bitcoin blockchain.
To solve this mathematical puzzle requires a lot of work and is in such a way that one cannot trick the system but work it out. It is found to be asymmetrical making it open to verification upon solving the problem. Unlike PoS, the only way to miners use to improve their odds is by having an additional computational power which is very cost effective as it requires high energy and capital. These puzzles have parameters that makes it to be periodically updated with time (block time). Most at times the block time depends on the number of blocks already existing. Taking bitcoin as an example, the block generation time is about 10 minutes and if this time reduceses, the puzzle becomes more difficult and if the time increases it becomes less difficult compared to the previous block time. All these aspects incur the use of very high energy to solve the puzzle.

CDB29E64-1800-4666-B9DB-DFC0C0EDB530.png

With the understanding of the methodology of PoW and PoS it is quite easy to differentiate them. The table below clearly differentiate them.

PoSPoW
Requires 51% of coins on the networkRequires 51% of computation power
-------------------
Rewards are by transaction feesResults are in newly Minted coins
-------------------
Investment based on coin purchaseInvestment based on hardware purchase
-------------------
Validators must support and own the token they are verifyingvalidators must have the highest computation power
-------------------
Do not inherently discourage forkingNaturally discourage constant forking
-------------------
Stakes an amount of a tokenSolves a mathematical puzzle

QUESTION 1b:

Advantages and disadvantages?

Advantages and disadvantages of PoS

AdvantagesDisadvantages
Requires lower energyEncourages forking
-------------------
The PoS consensus mechanism is less expensive compared to its counterpart PoWMay allow double spending
-------------------
Since PoS require less expenditure, it allows the validators with enough funds to promote the networkNo new coins are rewarded
-------------------
Allow miners to make use of their assetsPoS is centralized and less secured

CDB29E64-1800-4666-B9DB-DFC0C0EDB530.png

Advantages and disadvantages of PoW

AdvantagesDisadvantages
Discourages forkingRequires high energy
-------------------
Rewards are given by newly minted coinsRequires very high computation power
-------------------
Produces a decentralized networkNot environmentally friendly to users

QUESTION 1c:

Which one is better in scaling capacity?

Before I answer this question, I will like to explain the meaning of the scalability of a consensus mechanism on any blockchain.
Scalability here simply refers to the ability of a network system to sustain higher number of occurrences or the ability of a computing process to produce or be used in a wide range of capabilities. So a consensus that satisfies this between PoW and PoS should be more scalable.
It is difficult for PoW algorithms to adapt to mainstream use since there is continuous adoption of cryptocurrencies day in and day out causing an increasing number of transactions. Cryptocurrencies built on a PoW consensus mechanism have issues with fast transactions due to small block sizes which often slows transactions on such blocks especially when they are on the mainstream. Even though attempts to remedy such situations has been made, they all remain temporal and at some points off-chain which is not a good thing when looking at the whole idea of blockchain technology.
Proof of Stake based projects have seen much success in tackling scalability issues. They have gained better latency using less computation, storage and bandwidth. Some Proof of Stake systems randomly choose validators for each round and this validators at the end agree with each other whether the block becomes part of the chain or not. This has led to increase consistency between validators of PoS systems.

To round up, PoS offers more solutions to scalability problems compared to PoW and so PoS is better in scailing capacity.

QUESTION 1d:

Examples?

The table below contains some examples of PoW and PoS coins.

PoW cryptocurrenciesPoS cryptocurrencies
Bitcoin (BTC)Peercoin
-------------------
Litcoin (LTC)Cardano (ADA)
-------------------
Dogecoin (Doge)Algorand (ALGO)
-------------------
Ethereum (ETH)Nxt
-------------------
Zcash (ZEC)Polkadot (DOT)
-------------------
Dash (DASH)Solona (SOL)
-------------------
Bitcoin Cash (BCH)Tron (TRX)
-------------------
Monero (XMR)EOS
-------------------

CONCLUSION
Generally blockchains are made up of different blocks joint together with a primary block known as the genesis block. Therefore every blockchain has its genesis block. Blocks are validated by developers after verifying transactions on the block using a consensus mechanism. The most common consensus mechanisms on blockchain are PoW and PoS. These mechanism are for the same purpose but they have different methodologies. PoW is the oldest consensus mechanism in the crypto world and so it is the mechanism practiced in validating blocks on the bitcoin blockchain. PoW is based on computation power of developers while PoS is another mechanism whose protocol is based on the coin capitalization held by a developer. It has been observed that PoS has a better scaling capacity.

A big thank you to my professor @sapwood
Thanks for reading
Steem on

Sort:  
Loading...

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.034
BTC 64513.75
ETH 3146.11
USDT 1.00
SBD 3.95