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 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.

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



Failure To Break Above $11K Could Send Bitcoin To Monthly Lows: BTC Weekend Price Analysis



Even though the past week was positive for Bitcoin, the recent price action could raise some question marks for the bulls.

After starting the week below $10,500, Bitcoin was able to break above the old tough resistance and reach back to the $11,000 area.

However, while BTC gained 5% over the past week, most of the leading cryptocurrencies lost market cap. LINK  at -18% and even Ethereum at -2% are only two examples. The trending DeFi tokens suffered even harder.

This tells us that some or at least part of BTC’s price gains were coming from the altcoins sell-off, and not from funds entering crypto – just like in a healthy bull market.

Double-Top On the 4-Hour?

Looking at the following 4-hour chart, we can see a double top formation around $11,100, which is textbook bearish.

Moreover, there is also a bearish divergence on the RSI. This happens when the asset’s price is increasing, while the RSI is decreasing.

Another issue to consider is the decreasing amount of volume over the past week, which shows that the buyers are losing their power.

Despite the above, and just as in crypto, the momentum might change very quickly. Keep in mind that Bitcoin is also waiting for the equity and gold markets on Monday as both had a significant effect on the price recently.

The level to watch is, of course, the recent high from yesterday around $11,100. In case Bitcoin breaks above it (further above lies the 50-days MA at around $11,250), the momentum could change quickly.

However, as long as Bitcoin continues having trouble at that area, the price can easily drop.

From below, the first level of support lies around $10,800; followed by $10,500 and $10,400 – where lies the 100-days moving average line (the white line).

Total Market Cap: $357 billion

Bitcoin Market Cap: $202 billion

BTC Dominance Index: 56.8%

*Data by CoinGecko

BTC/USD BitStamp 1-Day Chart


BTC/USD BitStamp 4-Hour Chart



Binance Futures 50 USDT FREE Voucher: Use this link to register & get 10% off fees and 50 USDT when trading 500 USDT (limited – first 200 sign-ups & exclusive to CryptoPotato).

Click here to start trading on BitMEX and receive 10% discount on fees for 6 months.

Disclaimer: Information found on CryptoPotato is those of writers quoted. It does not represent the opinions of CryptoPotato on whether to buy, sell, or hold any investments. You are advised to conduct your own research before making any investment decisions. Use provided information at your own risk. See Disclaimer for more information.

Cryptocurrency charts by TradingView.


Continue Reading


Sunday Price Watch: Bitcoin Amid $11K, Uniswap’s Token Airdrop Value Reached $3500



Bitcoin jumped to a fresh 2-week high above $11,150 but got rejected once again and is down below $11,000.

Meanwhile, the value of the 400 UNI tokens airdropped to anyone who used Uniswap before September 1st reached almost $3,500.

Bitcoin Paints A New 2-Week High

As reported by CryptoPotato yesterday, Bitcoin displayed issues when trying to overcome the psychological $11,000 level. In the past 24 hours, the primary cryptocurrency initiated another attempt, which seemed significantly more robust. In just a few candles, BTC surged from $10,900 to about $11,179 (on Binance).

Bitcoin maintained its level above the coveted $11,000 level for a few hours. However, the bears decided to interfere and drove the price down below to where it currently sits – $10,950.

Consequently, $11,000 remains the most critical resistance in BTC’s path to new 2020 highs. If it spikes above it again, Bitcoin would have to fight off the next obstacles at $11,200, $11,350, and $11,500.

You Might Also Like:

BTC trades above the first support at $10,900, which intercepted the recent price dip. A breakdown below that level could send Bitcoin to the next support levels at $10,500, $10,330, $10,140, and $10,000.

BTCUSD. Source: TradingView
BTCUSD. Source: TradingView

Untypical Lack Of Volatility From Large-Cap Alts

In the past 24 hours, most larger-cap altcoins have been performing somewhat stable.

Ethereum, Ripple, Coin, and Litecoin are situated approximately at the same levels as yesterday. ETH trades at $380, XRP – $0,25, CRO – $0.165, LTC – $48.

However, Bitcoin Cash has overtaken Polkadot for the 5th spot as DOT tanked by 5%. On the other hand, BCH, similarly to Binance Coin, is down by just 1%.


Despite the price stability among the top 20 coins, severe volatility is evident among lower-cap alts. Hyperion leads the way with a 94% surge. HYN’s massive surge comes only a few days after the company announced launching a built-in exchange function in its wallet Titan.

Elsewhere, it’s interesting to note that the value of the 400 UNI tokens airdropped to everyone who used the Uniswap platform before September 1st reached a value of $3,500. This happened as the price for the token surged to around $8.7 on Binance before retracing to where it currently sits at around $5.6.

Binance Futures 50 USDT FREE Voucher: Use this link to register & get 10% off fees and 50 USDT when trading 500 USDT (limited – first 200 sign-ups & exclusive to CryptoPotato).

Click here to start trading on BitMEX and receive 10% discount on fees for 6 months.

Disclaimer: Information found on CryptoPotato is those of writers quoted. It does not represent the opinions of CryptoPotato on whether to buy, sell, or hold any investments. You are advised to conduct your own research before making any investment decisions. Use provided information at your own risk. See Disclaimer for more information.

Cryptocurrency charts by TradingView.


Continue Reading


CREAM Finance Soars 130%: Burns 67% of Its Total Supply Today



The decentralized crypto exchange protocol C.R.E.A.M. Finance announced its decision to conduct a significant token burn today, September 20th, after a strong internal discussion.

The official account of the protocol explained that following consideration of several possible reductions in supply, the alternative of burning 67% of all the $CREAM tokens was chosen as the best. This implies that more than 6 million $CREAM tokens will disappear forever once the burn is complete.

Goodbye, Governance Tokens

In an official blog post, the team at C.R.E.A.M. Finance explained that all governance tokens and 7.5% of the Seed Tokens would be destroyed.

This burn will include 100% of the “governance” tokens and 7.5% of the Seed tokens. We believe that this action will provide greater certainty to the current token holders while creating a stronger foundation for the long-term success of the project.

The tokens owned by liquidity providers and those destined to protocol development and Compound will not be affected by the measure.

Source: Medium C.R.E.A.M Finance

Thus, the liquidity providers will now control 61.5% of the total $CREAM supply while the team would have 23.1%. This force redistribution is possible thanks to the absolute removal of governance tokens, which accounted for 60% of the total supply until now.

You Might Also Like:

Thanks to our seed investors and their continued support and sacrifices for the project, they have agreed to a 75% burn in exchange for accelerated vesting of 1-year, monthly vesting. Specifically, seed tokens will now vest monthly starting September 24th.

The C.R.E.A.M team also had the opportunity to make the same decision as the seed investors. Still, they refused to go down that road, mostly for strategic reasons.

Less is More

A decline of this magnitude could have two implications: Either a substantial loss of market capitalization (in case of lack of fundamental value or confidence in the project) or the price of each token increases to match the current market cap with the new supply.

And in the case of C.R.E.A.M., the news seems to have yielded outstanding results, with the prices taking the optimistic route. The price of the token spiked almost immediately after the announcement before correcting today. It went from about $70 to $165, marking an increase of 134%.

CREAM/USDT. Source: TradingView
Binance Futures 50 USDT FREE Voucher: Use this link to register & get 10% off fees and 50 USDT when trading 500 USDT (limited – first 200 sign-ups & exclusive to CryptoPotato).

Click here to start trading on BitMEX and receive 10% discount on fees for 6 months.


Continue Reading