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

  • Trump: Details of US-Iran Agreement to Be Released After Signing on 19th

    On June 16, during the G7 summit in Évian-les-Bains, France, U.S. President Trump stated that the details of the US-Iran agreement will be made public after its official signing on the 19th. (Xinhua News Agency)

  • Iranian Foreign Minister Announces Memorandum Signing on June 19

    On June 15, Iranian Foreign Minister Amir-Abdollahian stated that a meeting between the heads of the Iranian and American negotiating delegations is expected to take place in Switzerland on June 19, during which a memorandum of understanding between Iran and the United States will be signed, followed by the first round of subsequent negotiations. (CCTV International News)

  • U.S. Senior Officials: U.S. and Iran Sign Memorandum of Understanding

    On June 16, a senior U.S. official stated that the United States has signed a memorandum of understanding with Iran. U.S. President Trump and Vice President Pence signed the memorandum, and the Speaker of the Iranian Islamic Consultative Assembly also signed the document. The official also mentioned that the agreement stipulates the immediate opening of the Strait of Hormuz and the lifting of U.S. sanctions on Iran. Traffic in the strait will significantly increase starting immediately.

  • BTC Surpasses $67,000

    Market data shows that BTC has surpassed $67,000, currently priced at $67,197.47, with a 24-hour increase of 4.94%. The market is highly volatile, so please ensure proper risk management.

  • Musk's Wealth Reaches $1.2 Trillion as SpaceX Surpasses TSMC in Valuation

    On June 15, according to the latest global billionaire rankings released by Forbes, Elon Musk, the head of Tesla and SpaceX, has seen his personal wealth soar to an astonishing $1.2 trillion, setting a historical record. He became the world's first 'trillionaire' in the previous trading day. This wealth phenomenon is primarily attributed to the strong performance of his two flagship companies. Recent market data shows that SpaceX (SPCX) has reached a total valuation of $2.28 trillion (approximately $2.28 trillion), surging 8% in a single day, officially surpassing semiconductor giant TSMC (TSM), which has a market value of $2.26 trillion, and entering the top tier of U.S. stock market valuations, ranking sixth. Currently, the top three in the U.S. stock market by total market value are Nvidia ($5.05 trillion), Google, and Apple. SpaceX, with its absolute dominance in the commercial space and Starlink sectors, continues to see its valuation skyrocket, becoming the core pillar of Musk's trillion-dollar fortune.

  • Philadelphia Semiconductor Index Soars 4.7% in Early Trading

    On June 15, the Philadelphia Semiconductor Index opened high, rising by 4.7%. Nvidia's stock price increased by 2.67%, TSMC's stock price rose by 3.76%, Broadcom's stock price went up by 3.37%, Micron Technology's stock price surged by 9.31%, Advanced Micro Devices' stock price climbed by 6.61%, and ASML's stock price gained 1.47%.

  • SpaceX Raises Approximately $85.7 Billion in Initial Public Offering

    On June 15, SpaceX announced that underwriters have fully exercised their over-allotment option in the IPO, purchasing an additional 83.33 million shares. SpaceX has raised approximately $85.7 billion through the IPO.

  • Nasdaq Golden Dragon China Index Rises Over 1%

    On June 15, the Nasdaq Golden Dragon China Index rose over 1%. Canaan Inc. increased by 13.84%, EHang soared by 10.86%, Zai Lab gained 5.59%, Xunlei rose by 5.16%, and Kingsoft Cloud climbed by 5.31%.

  • Anthropic Sued by User for Allegedly Inflating Subscription Usage Limits

    On June 15, according to The Wall Street Journal, a consumer is seeking compensation from Anthropic for its highest-tier subscription plan and has accused the company of exaggerating the usage limits provided. The lawsuit claims that Anthropic misled consumers regarding the usage restrictions of its Max 5x and Max 20x subscription plans. The cheapest Pro subscription for individual users costs between $17 and $20 per month, while the Max 5x costs $100 per month and the Max 20x costs $200 per month. The lawsuit alleges that Anthropic advertised the Max 5x and Max 20x plans as having 5 times and 20 times the usage limits of the Pro plan, respectively, but the actual limits are difficult to determine and appear to be far below the advertised levels. The lawsuit seeks to qualify for a class action on behalf of users who purchased these packages since April of last year.

  • ETH Surpasses $1800

    Market data shows that ETH has surpassed $1800, currently priced at $1804.82, with a 24-hour increase of 8.2%. The market is experiencing significant fluctuations, so please ensure proper risk management.