Connect with us


Blockchain Consensus Mechanisms – Proof of Work vs Proof of Stake and More

Blockchain Consensus

A blockchain is a decentralized peer-to-peer network that stores append-only (add to the end of) data and verifies the integrity of that information across the network. Collectively validating the accuracy of said data (reaching consensus) is one of the defining features of a blockchain. The idea of a blockchain goes back to at least the…

The post Blockchain Consensus Mechanisms – Proof of Work vs Proof of Stake and More appeared first on UNHASHED.

Republished by Plato



A blockchain is a decentralized peer-to-peer network that stores append-only (add to the end of) data and verifies the integrity of that information across the network. Collectively validating the accuracy of said data (reaching consensus) is one of the defining features of a blockchain.

The idea of a blockchain goes back to at least the 1990s. The basic theory was to copy data across a network of computers using a type of consensus algorithm to agree on any data to be added. Then, use cryptographic hash-chaining to make the database virtually immutable.

For more information on blockchains and hashing, check out our Blockchain article. Below, however, we’ll focus specifically on the various ways that different types of blockchains reach consensus on data added to their sequences (chains) of data (blocks) through these topics:

The main differences in the various blockchain consensus mechanisms center around how the right to add data to the blockchain is distributed among network participants, and how this data is validated by the network as an accurate account of transactions.

The set of computer processes that solve these problems is called the consensus algorithm, which, as alluded to, is the mechanism responsible for securely updating the state of data across a given blockchain network.

Each node (computer) in the network independently verifies and processes every transaction and therefore must have access to the database’s current state, the modification requested by a given transaction and a digital signature proving a transaction’s origin and accuracy. The question then, is how all of the nodes reach consensus (agreement) on the data. The biggest problem that blockchains aim to solve is called the “Byzantine Generals’ Problem”.

This problem, which has been around for longer than blockchain itself, is basically this: How do you keep a network of entities who are focused on the same goal in alignment based purely on messages passed between them, without the information being corrupted by a malicious actor within the network? For example, if one is trying to send cryptocurrency through a network, how can you be certain that the transaction details haven’t been tampered with and changed by a malicious node in the network?

This is where a consensus mechanism comes in to make sure the network remains in sync and data remains untampered with. The following are a few of the solutions different groups have come up with to achieve this outcome.

Proof of work is presently the most popular consensus mechanism for blockchains. The ‘proof of work’ that the name describes is the process by which the blockchain network proves that a miner network node (network nodes that group transactions into blocks and validate them) has done the work needed to create a valid block (group of transactions). Although it’s hard for nodes to generate a valid block (it takes a lot of computer processing power), it is quite easy for the network to verify that a block is valid.

This is all done through what is called a hash function, which creates a unique digital fingerprint for a given piece of data. Since hashes are very sensitive to change, and even a tiny modification will result in a completely different hash output, hashes can be used to validate and secure blocks.

For a block to be confirmed as valid, miners must create two hashes: a hash of all of the transactions in the block, and a hash proving they have expended the energy needed to generate the block by solving a special cryptographic puzzle with a pre-set level of difficulty. Specifically, the puzzle is to find a number that, when combined with the data in the transactions and passed through the hash algorithm, comes up with a number within a specified range set by the cryptocurrency’s program.

The difficulty of solving the puzzle is automatically adjusted in PoW systems to create a consistent time period for blocks of transactions to be added to the blockchain and to release network fees and newly created cryptocurrency rewards to miners.

A hash is a one-way function. It cannot be reversed. In this way, it can be confirmed that each block has required work to generate it. Each block also contains the hash of the previous block, so once all blocks are combined in the blockchain, it makes it virtually impossible to modify them since doing so would require redoing all the work done to generate every single block in the blockchain.

In summary, a miner creates a block of valid transactions, then runs the PoW algorithm on it to find a valid hash, racing against all other miners to solve the puzzle first. When a valid block is generated through such action, the block is added to the blockchain and the miner receives network fees as well as newly created cryptocurrency.

There are different hashing algorithms used for PoW consensus mechanisms, the most common of which are SHA-256 (e.g Bitcoin) and Scrypt (e.g. Litecoin). Others include SHA-3, CryptoNight, Blake-256, Quark, scrypt-jane and hybrid systems that use more than one hashing function.

Although PoW is theoretically near impossible to hack since it uses resources in the physical world to secure the network, this is also where one of its largest criticisms comes from: the resource being used is electricity, and lots of it.

In fact, science magazine Motherboard Vice, reports that 1.6 U.S. households could be powered for a day by the electricity used by a single Bitcoin transaction. By 2020, Bitcoin could consume as much electricity as the entire country of Denmark. And that’s just one cryptocurrency (albeit the most popular).

From an efficiency and environmental perspective, this is not ideal and would be very difficult to scale to mainstream usage. Making matters worse, the computing power and electricity costs needed to stay competitive in mining has increased dramatically over time. This has produced significant centralization in mining networks, as only the largest and most powerful organizations can really compete.

A few large companies and mining pools now dominate the most popular blockchains, which is completely counter to the founding decentralization principle of blockchains.

Besides the questionable ethics of this issue, centralization also leads to a potential security problem called a 51% attack. This is when a miner, likely a pool or large conglomerate, controls 51% of a blockchain network’s computing power. If this were ever to happen, they could disrupt the entire network by invalidating real transactions or validating their own fraudulent transactions to “double spend” funds (using the same funds more than once).

Fortunately, these problems with PoW are not without potential solutions.

PoS is based on the assumption that when nodes in the network are stakeholders (that is, when they own currency of the given blockchain) they will have an incentive to remain honest and benign in operating network nodes.

PoS works by miners locking up some of their own cryptocurrency so they can’t be used into special ‘staked’ accounts. Nodes who have staked tokens can then verify blocks of transactions just as in PoW systems, but the cryptographic calculations needed to verify blocks are much simpler (and therefore require much less computer power). Instead of using complicated puzzles that give advantages to more powerful computers as in PoW, PoS systems are structured such that nodes that have more cryptocurrency staked have a higher chance of solving the cryptographic puzzle.

In this way, although PoS is more efficient than PoW, it does not completely solve the problem of centralization of mining power, since logically, the risk is that the currency used by such systems will still concentrate into fewer and fewer hands.

One of the other key problems of PoS is the ‘nothing at stake’ problem, wherein miners may have nothing to lose by voting for multiple blockchain histories in the event of a fork (a blockchain split into two). In the event of a fork, the most lucrative strategy for a miner is to mine on each chain, therefore gaining rewards regardless of which fork is recognized by the network.

This could in theory lead to consensus never being reached by the network, or to double spending wherein an attacker may be able to send a transaction, then start a fork of the blockchain from one block behind the transaction and send the money to themselves instead of where it was sent before. This is more possible in a PoS system than PoW since the cost of working on several chains is much lower.

One problem that PoS does help to mitigate, however, is the 51% problem. Even if a miner owned 51% of a cryptocurrency, it would not be in their interest to attack a system in which they owned a majority of the stake. This does not, of course, take into account malicious, well funded actors who may simply want to bring down a blockchain network at any cost.

Some examples of blockchains using this consensus mechanism are NEO, Stellar and Cardano.

With classic PoS, miners with small balances are unlikely to mine a block, in the same way that PoW miners with little computer power are unlikely to mine a block. Not only could this be seen as less fair, it may also lead to a less secure network, since if small miners were incentivized better, the network would have more nodes and thus be more secure.

LPoS incentivizes less powerful nodes by allowing them to lease their cryptocurrency balances to “staking nodes” that have more staked tokens and are consequently more likely to mine a valid block. All coins leased to such nodes increase the “weight” of the staking node, which increases its chances of adding a block to the blockchain. Rewards received by staking nodes are then proportionally shared between all leasers. Leasers can still move or spend their tokens at any time, thus automatically “breaking the lease” so to speak.

In this way, the issue of centralization of mining and/or monetary power can be better limited by allowing all nodes to have the potential to earn mining rewards.

The main example of a project using this type of consensus algorithm is Waves.

In DPoS, cryptocurrency token holders use their balances to elect a list of nodes that will be able to stake blocks to add to the blockchain. With the yet-to-launch EOS blockchain, for example, there will be 21 “block producer nodes” that are elected by the network.

Although this solves some problems, such as the potential for forks to happen (all nodes will not switch to a fork that isn’t finalized by 15 out of 21 producer nodes), and scalability issues that occur with PoW and PoS, a DPoS blockchain is by definition more centralized, and does not provide accessible entry points for anyone to mine blocks and earn rewards.

Projects that use this type of consensus mechanism include Bitshares and EOS.

Blockchains don’t have to settle for just one type of consensus mechanism. The most popular type of hybrid chain is the PoW/PoS hybrid, which typically uses an initial PoW consensus in a limited manner, and then uses PoS to validate blocks added to the blockchain. Using PoS solves the 51% attack problem while using less energy; PoW solves the nothing at stake problem while ensuring another layer of blockchain immutability.

Peercoin is one blockchain using this hybrid method.

PoI is similar to PoS, but the consensus mechanism also takes into account other factors in giving nodes an advantage in mining blocks.

With NEM, the first blockchain to implement PoI, for example, nodes are rewarded for their productivity in the network, which includes their balance, as well as their number and value of transactions, among other ‘reputation’ factors.

In this consensus mechanism, each node publishes a public key. Transactions passing through the node are signed by the node and verified, and once enough identical responses are reached within the network, a consensus is met through that the transaction is valid. This simple mechanism does not require any hashing power and is particularly useful for storage systems.

PBFT has two potential problems. First, all involved parties must agree on the exact list of trusted participants. Secondly, the membership of such an agreement system is typically set by a central authority. Although these factors may not make it suitable for a public, decentralized cryptocurrency, it may be useful for other things such as private digital asset holding platforms.

PBFT is the consensus mechanism used by Hyperledger.

Before blockchains came along, there was no practical way to ensure that data in a distributed network (for example, a digital currency ledger) would remain secure from tampering by malicious or compromised nodes. With the birth of Bitcoin and PoW, a whole new generation of programmers and engineers set to work on solving this problem.

Many consensus mechanisms have sprung up as a result, most purporting to solve the same (Byzantine Generals) Problem. As blockchain is still a relatively new field, it is unclear which consensus mechanisms will prove themselves most useful and which ones will fall out of favor. As it stands now, differing consensus mechanisms are one of the fundamental factors that differentiates different cryptocurrencies.



Ethereum Co-Founder Anthony Di Iorio Bets Big on the Future of Cardano and Polkadot

Republished by Plato



Anthony Di Iorio, a Canadian entrepreneur and the co-founder of leading smart contract platform Ethereum, said that he believes in the potential of Cardano (ADA) and Polkadot (DOT).

In an interview with crypto proponent Anthony Pompliano, Di Iorio, who is also the CEO and founder of Canadian blockchain startup Decentral and crypto wallet Jaxx, revealed that he has a diversified investment portfolio featuring several top projects, including Cardano and Polkadot.

A Big Fan of Cardano and Polkadot

He said:

“Now I’ve kind of fallen back to just simplicity. I’m in a number of different projects, but the majority of my stuff is in the top projects. I’m a big fan of Polkadot, I’m a big fan of Cardano.”

Di Iorio went on to narrate why he was so sure of the future of these two projects. He had joined the Ethereum development team earlier in 2012 when he met Vitalik Buterin at a Bitcoin conference.

He has formed strong relationships with other co-founders of Ethereum, including Vitalik Buterin, Cardano’s founder Charles Hoskinson, and Polkadot’s current CEO Gavin Wood.


Di Iorio admitted that while he worked with these men, he knew that they were goal-oriented and would help push these projects further.

He continued:

“Big fan of Charles, let’s say that. You know, taking some different approaches in the way that they’re doing things, much more on the academic side of what he’s done and bringing stuff forward. Real big fan of Gavin Wood… Knowing those guys from the days back at Ethereum – and knowing their drive and knowing their competitiveness and their smarts – I was able to see those projects for the last few years and know that they were gonna get to where they’ve gotten up to.”

Not Getting Lost in DeFi

Despite all the recent hype about DeFi, Di lorio pointed out that he is keeping his investments simple and investing in larger projects.

“Most of my stuff is in the top few things, Ether, Bitcoin, Cardano, Polkadot. I like Cosmos as well. And there’s a few others, but I’m not getting lost in all the DeFi stuff. I just think there’s not enough time, not enough energy. It’s a full-time gig to be running a lot of that stuff and keeping on top of stuff, so I’ve simplified my life quite a bit over the past few years.”

Featured image courtesy of Business Insider


Binance Futures 50 USDT FREE Voucher: Use this link to register & get 10% off fees and 50 USDT when trading 500 USDT (limited offer).

PrimeXBT Special Offer: Use this link to register & enter POTATO50 code to get 50% free bonus on any deposit up to 1 BTC.

You Might Also Like:

Coinsmart. Beste Bitcoin-Börse in Europa

Continue Reading


What you should know if your bank is exposed to Bitcoin





On one hand, El Salvador recently became the first nation to officially declare Bitcoin as its legal tender, and on the other, several nations have recently opined that their indigenous banks face a ‘threat’ from the world’s largest crypto-asset. Nevertheless, the rise in the adoption of cryptocurrencies has been accompanied by regulators taking the fast-growing market seriously. 

Banks will now face “the toughest” capital requirements for their holdings in Bitcoin and other crypto-assets under global regulators’ plans to brush off the insecurity offered by the “volatile” crypto-market. 

Using money laundering, reputational challenges, and massive price swings as the base of their proposal, the Basel Committee on Banking and Supervision is in the news after it explicitly stated that the banking industry faced “increased risks” and “financial stability concerns” from crypto-assets.

Accordingly, they have now placed Bitcoin in the “highest risk” category. The aforementioned committee comprises a host of nations and global institutions as its members.

The Basel Committee isn’t alone, however, with a Bank of International Settlements exec recently commenting that El Salvador’s Bitcoin policy is an “interesting experiment.”

What’s more, the panel proposed a 1250% risk weight be applied to a bank’s exposure to Bitcoin and certain other cryptocurrencies. Bloomberg’s estimates highlighted, 

“In practice that means a bank may need to hold a dollar in capital for each dollar worth of Bitcoin, based on an 8% minimum capital requirement.”

However, stablecoins and other tokens tied to real-world assets are set for lower capital requirements. The report further highlighted, 

“The capital will be sufficient to absorb a full write-off of the crypto asset exposures without exposing depositors and other senior creditors of the banks to a loss.”

The proposal did not specify any specific timeline, and hence, the implementation of these rules can take a couple of years. The proposal is, however, open to public comment before it comes into effect. It should also be noted that the committee said that the initial policies were “likely to change” several times as the market “evolves.”

Even though banks like HSBC have been cautious about stepping into crypto-trading, a few big names, like Standard Chartered Plc have announced their entry into the space.

As for Bitcoin, it fell by over 3.7% in the last 24 hours to trade at $35,418 at press time.

Source: Coinstats

Subscribe to our Newsletter


Continue Reading


Why Amp is the Best Altcoin You’ve Never Heard Of





Crypto Summer Pt. 2

Nordstrom, GameStop, and Ulta already support it


I work with a crypto wizard.

Yesterday the wizard gave me a piece of advice: “Hey man, your fly is down.” After that, he told me to look into Amp, otherwise known as Crypto-Square.

Amp is the brainchild of Flexa and ConsenSys and aims to make real-world crypto transactions instant and verifiable.

Through this ERC-20 token, retailers can accept Bitcoin, Litecoin or Ethereum without having to wait 10 minutes or more for the network. Today Nordstrom, Lowes, Baskin Robbins, GameStop, Ulta Beauty, Office Depot, AMC Theaters, and Petco are just some of the stores that support Amp.

That’s right, you can go to these retailers and use Flexa’s SPEDN app (pronounced spend) to easily buy things with Bitcoin or other cryptocurrencies.


And if that wasn’t enough, Coinbase just listed Amp yesterday. Coinbase-approved altcoins often skyrocket in price as 56 million users are nothing to scoff at.

Here’s everything else you should know about this project.

There’s only one thing that Flexa and ConsenSys created Amp to do: Act as collateral. Amp guarantees that real-world transactions go through instantaneously due to collateralization.

Flexa, the company that created Amp, is the puppet master attempting to make cryptocurrency the new global financial system. They initially launched a Flexa token years ago, but ditched it for Amp and a close partnership with ConsenSys.

“The new Amp token demonstrates Flexa’s unrelenting commitment to DeFi and to building new technologies that will democratize access to payments for people all over the world,” Tyler Spalding, CEO of Flexa wrote in a blogpost.

Flexa eventually wants to use Amp to guarantee home purchases, loan distributions, and fiat exchanges.

Can you guess it? Go ahead — on three…

ONE, staking!

Oh, sorry I got excited.

Staking on Amp is just like providing to a liquidity pool on Uniswap or any other DeFi protocol. I just imagine a giant Uncle Sam poster pointing at you saying “we need your tokens.”

This is another reason why Amp works. It follows the old Army adage “K.I.S.S.” or Keep it Simple Stupid. In the past few months, Amp is one of the only altcoins I feel like I can explain to my mother. That’s a good thing.

If you want to add to the Amp collateral pool you can stake on Gemini or on the SPEDN app to earn around 5.5% interest on your Amp tokens.

Three words should make you very bullish about an altcoin: ‘Real-World Use’

Many altcoins over-engineer their projects to death and bog their white papers down with technical mumbo jumbo to make you think their team is smarter than you. Amp is not one of these projects. It keeps it simple, stupid.

Moreover, Amp is the leading technology making it possible for retailers to exchange cryptocurrencies. It’s so ahead of the pack that dozens of businesses are already using it.

It’s a no-brainer 10x, in my opinion.

Amp is trading at $0.06 at the time of publishing with a market cap of $2.59B (for reference the market cap of Ethereum is $276 B)


Continue Reading
Blockchain4 days ago

World Economic Forum Seeks to Offer Clear Policy Landscape For DeFi

Blockchain3 days ago

The Colombian President’s Advisor to Peter Schiff: Stop Talking and Short Bitcoin

3 days ago

Pokemon GO: How to Get Alolan Slowpoke

Blockchain4 days ago

World Economic Forum Releases a DeFi Policy Toolkit for Fair and Executable Regulations

5 days ago

How watching LoL Esports rewards viewers in summer 2021

Uncategorized3 days ago

Battlefield 2042 officially revealed

Blockchain3 days ago

How Does Bitcoin Mining Work? Is It Profitable in 2021?

Uncategorized4 days ago

Where to find all the Alien Artifacts to unlock Kymera’s custom style in Fortnite Chapter 2, Season 7?

Blockchain3 days ago

1,100 people arrested by Chinese Police on crypto-related money laundering charges

Blockchain3 days ago

Axie Infinity Price Prediction 2021-2025: AXS Token Can Hit $40 by 2025

Blockchain4 days ago

XRP lawsuit: Is the SEC ‘triply wrong’ about its latest filing?

Blockchain3 days ago

XRP lawsuit: What’s the ‘existential threat’ Ripple is facing?

Blockchain5 days ago

Troy Gayeski von SkyBridge: „Fiat-Investoren könnten alternativ auf Bitcoin setzen“

Blockchain1 day ago

Trouble Looms For Bitcoin As U.S Looks to Bar Holders From Converting Crypto To USD

Blockchain4 days ago

The Classic Meme Behind Dogecoin (DOGE) to Be Auctioned as an NFT

Uncategorized4 days ago

Doge meme Shiba Inu dog to be auctioned off as NFT

Uncategorized3 days ago

The UNICEF is investing in five crypto startups via Ethereum (ETH)

Blockchain2 days ago

Third-Party Results of Credits’ Blockchain Speed Test

Blockchain1 day ago

MT5 Will Phase Out MT4, but It Will Take Time

Blockchain4 days ago

Gaugecash – The world’s first Decentralized Monetary System.