Cointime

Download App
iOS & Android

Proof of Stake and Other Consensus Mechanisms

Validated Project

In a centralized system, keeping accurate records, such as a database containing real estate transactions, lies with a single administrator. This administrator has all the power to add, delete, or modify the names of those involved in the transactions, like a benevolent dictator of the real estate world.

A decentralized system, on the other hand, is self-governing. It’s like a global village of people who don’t know each other, all working together to keep the system running smoothly. No centralized authority is needed to keep it running. Instead, it’s powered by the collective effort of all the participants around the world. They verify and validate all the transactions that take place.

It’s a fascinating way to keep the system secure and efficient. But to do that, a consensus mechanism is needed.

What’s a Consensus Mechanism?

Put your hands up in the air if you don’t know what consensus means. Okay, we see a few hands at the back. Let’s define consensus.

Say a group of five people decided to go to the movies together. All five members must agree on the same film before they can actually watch the movie. That’s consensus. It’s when a group of people (or entities) agree on a single outcome.

As for blockchains, given their ever-evolving status, they need an effective, instantaneous, dependable, and secure system to guarantee that all transactions taking place on the network are valid and all participants concur on the ledger’s state. Blockchain consensus mechanisms are used to ensure all nodes are in sync, and transactions are legit.

A consensus mechanism is a standardized process by which the nodes of a blockchain network come to a mutual agreement on the validity of a transaction, ensuring that the blockchain is accurate and up-to-date. The goal is to keep bad actors from cheating.

There are different types of consensus mechanisms, and each operates based on distinct principles.

The Infamous Proof of Work

Anybody who knows anything about blockchains heard about Bitcoin first. Okay, not all, but most. After all, it is the most popular blockchain in existence.

Bitcoin verifies transactions and adds them to the blockchain through a consensus mechanism called Proof of Work (PoW). In this method, sophisticated hardwares around the world compete to solve a complex math problem, and the first one to crack the code gets the chance to write the next block. In return for their service, they are rewarded with Bitcoins. This process is called mining — and unfortunately, it’s very energy intensive.

As good citizens of planet Earth, we are in a constant loop of anxiety about the state of the environment. NFTs and cryptocurrencies emerged as a target of major criticism in the last few years. There has been a growing focus on energy efficiency among newer blockchains, and development communities are also actively seeking ways to reduce their energy consumption.

The Greener Alternative: Proof of Stake

Many of you may have heard of “The Merge”. The Ethereum Merge in 2022 was an exciting software upgrade that switched the platform’s consensus mechanism from a Proof of Work (PoW) protocol to a Proof of Stake (PoS) system. The move has slashed Ethereum’s energy demands, making it 99.95% more energy-efficient.

PoS is a consensus mechanism where participants must lock up (or stake) a certain amount of their digital currency to be randomly chosen as a validator. This process is similar to a lottery, where the more coins you stake, the higher your chances of being selected.

Other Consensus Mechanisms

Blockchains are dominated by PoW and PoS algorithms, but many other consensus algorithms also exist.

Proof of Activity (PoA) — In a Proof of Activity system, mining begins with the same process as Proof of Work, where miners compete to solve a complex mathematical problem with powerful computing power. After the block is mined, the protocol shifts to resemble Proof of Stake, with the generated block header broadcasting to the network. Validators are then randomly chosen to sign off on the hash, verifying the new block.

As with PoS, the more cryptocurrency a validator holds, the better their chances of being selected. After all of the chosen validators have signed the block, it is added to the blockchain and can start to record transactions. The block rewards are then divided between the miner and the validators.

Proof of Authority (PoA) — Proof of Authority is distinct from Proof of Activity, even though they’re both known as PoA. Validators are chosen based on their reputation instead of staking coins. PoA requires participants to reveal their identities to validate blocks, unlike many blockchain protocols.

This mechanism is much less resource-intensive than some of its predecessors. It is also one of the more cost-effective options.

Proof of Capacity — In Proof of Capacity, validators store solutions to complex mathematical puzzles on digital storages such as hard disks. This process is known as plotting. Once the storage device is full of solutions for the puzzles, users can use it to generate blocks. Those who are quickest to find the solutions are given the opportunity to create a new block. Therefore, users with the most storage capacity will have the highest chance of producing a new block.

Final Thoughts

There are more consensus mechanisms we didn’t cover here. Each consensus algorithm has its own advantages and disadvantages. Nevertheless, despite the imperfections, all mechanisms we’ve looked at have provided the basis for many successful applications.

The consensus algorithm enables blockchains to validate and authenticate transactions without needing a third party. A key principle of blockchain is decentralization by eliminating central authorities, and consensus mechanisms allow this to happen.

Comments

All Comments

Recommended for you

  • Scammers use Google to promote fake Whales Market website to steal cryptocurrency

    According to a report from BleepingComputer, threat actors have discovered a method where scammers use Google's platform to promote phishing websites impersonating Whales Market in order to steal cryptocurrency. These fraudulent websites are placed as sponsored links (i.e. advertisements) at the top of Google search result pages, and despite the domain address displayed on the search result page appearing to be real, users will be redirected to the fake website upon clicking.

  • Cyvers: Hedgey suffered the same vulnerability on Arbitrum and lost about $42.8 million

    Cyvers Alerts on X platform stated that the system detected that the financial derivative agreement Hedgey Finance executed the same vulnerability on the ARB chain and gained approximately 42.8 million US dollars in profit.

  • Tether issues 1 billion USDT on Ethereum (authorized but not yet issued)

    Whale Alert has monitored Tether Treasury's addition of 1 billion USDT on Ethereum. Tether CEO Paolo Ardoino stated that this 1 billion USDT is a supplement to Ethereum inventory. This is an authorized but unissued transaction, which means that this issuance will be used for the next issuance request and cross-chain exchange inventory.

  • CertiK: Hedgey vulnerability was exploited and $1.9 million was stolen

    CertiK Alert posted on social media that it has detected that the on-chain token infrastructure protocol Hedgey has been exploited and stolen approximately 1.9 million US dollars.The attacker abused the createLockedCampaign function in flash loans to obtain approval for the use of tokens on the victim's contract. The USDC, NOBL, and MASA tokens in the victim's contract have been depleted.

  • Binance executives' bail application postponed again, still in custody

    The bail hearing for Binance executive Tigran Gambaryan has been postponed again by a Nigerian court, and he remains detained at the Kuje Correctional Center. The hearing is now scheduled for April 22, with the EFCC requesting time to respond to new arguments from the defense. Gambaryan's lawyer criticized the prosecution for failing to respond promptly. Binance has been accused of concealing the source of its income, while Gambaryan is accused of money laundering. In addition, he has also filed a lawsuit against the government for violating his human rights.

  • BTC breaks through $64,000

    The market shows BTC breaking through $64,000, now reporting at $64,012.44, with an intraday increase of 4.95%. The market fluctuates greatly, so please be prepared for risk control.

  • SEC accuses Justin Sun of frequent trips to the U.S. to sell tokens

    The US SEC has amended its lawsuit against Tron founder Sun Yuchen, stating that his frequent travel to multiple locations in the US allows the court to have corresponding jurisdiction. The SEC accuses Sun Yuchen and his company of selling unregistered securities through Tron and BitTorrent (BTT) tokens and engaging in manipulative money laundering transactions. The SEC claims that Sun Yuchen spent more than 380 days in the US from 2017 to 2019, with travel destinations including New York, Boston, and San Francisco. Sun Yuchen argues that the token sales were conducted entirely overseas, avoiding the US market, and therefore the SEC has no jurisdiction over him and the Tron Foundation, which is headquartered in Singapore. (Cointelegraph)

  • Cyvers Alerts: Multiple phishing transactions detected this morning

    Cyvers Alerts reported on X platform that multiple phishing transactions were discovered by the system this morning. The victims have approved the external owned accounts (EOA) of the phishers. We strongly recommend revoking the relevant approvals.

  • Shanghai Municipal Party Committee Secretary: Welcome Standard Chartered to establish more new institutions, new businesses and new platforms such as blockchain in Shanghai

    Chen Jinong, the Secretary of the Shanghai Municipal Party Committee, met with Weihao Si, the Chairman of the Board of Directors of Standard Chartered Bank, and Mark William D'Arcy, the Executive Director, and some members of the Board of Directors yesterday morning. Chen Jinong stated that he welcomes Standard Chartered Bank to leverage its own advantages, strengthen strategic connections, place more new institutions, businesses, and platforms such as wealth management and blockchain in Shanghai, focus on deepening pragmatic cooperation in technology finance, green finance, digital finance, and create more application scenarios, and provide comprehensive and professional service support for enterprises to go abroad.

  • Vitalik: Humanity needs to create a world where blockchain and artificial intelligence work together

    Vitalik Buterin, the founder of Ethereum, stated at BiddleAsia 2024 held at Signiel Seoul in the Songpa district on March 28 that artificial intelligence is a huge market and its importance is increasing day by day. We need to create a world where blockchain and artificial intelligence work together. Artificial intelligence can now create applications with 100 to 500 lines of code. Vitalik also stated that the ability to write 10,000 lines of code can eliminate most of the bugs in the Ethereum virtual machine.