Skip to main content

Command Palette

Search for a command to run...

Consensus Mechanisms: PoW, PoS, DPoS

Published
5 min read
Consensus Mechanisms: PoW, PoS, DPoS
I

I’m a passionate software engineer specializing in mobile app development with a keen interest in artificial intelligence (AI). Over the years, I’ve honed my skills in crafting intuitive, scalable mobile applications, always seeking innovative ways to integrate AI to enhance user experiences. From machine learning algorithms to smart features, I’m focused on pushing the boundaries of what's possible in mobile tech.

As the founder of Women in Tech Malawi, I’m dedicated to fostering a community that empowers women to thrive in the tech world, especially in AI and mobile app development. I'm deeply involved with organizations like She Code Africa, Women Techmakers, and WomenTech Network, where I mentor and advocate for women to step into leadership roles within tech.

AI and mobile development are where my passion lies. I’m particularly excited about how AI can transform mobile apps, making them more personalized, responsive, and intelligent. Whether it's building apps with cutting-edge AI or learning about the latest breakthroughs in the field, I’m always eager to learn, share, and collaborate. I believe in the power of tech to change lives, and I’m committed to ensuring that women play a central role in shaping the future of AI and mobile technology.

Thousands of nodes agree on one truth through a consensus mechanism.

Consensus answers:

  • Who adds the next block?

  • How do we prevent cheating?

  • How do we agree without trusting anyone?

Who Gets to Add the Next Block?

Adding a block requires:

  • Validating transactions

  • Preventing double spending

  • Linking to previous block

  • Broadcasting updates

Consensus makes dishonesty expensive and honesty profitable.


Proof of Work (PoW)

Used by Bitcoin and Litecoin.

  • Miners compete to solve cryptographic puzzles

  • Requires heavy computation

  • First solver adds the block

Why PoW Works

  • Expensive to cheat

  • Requires majority computing power to attack

  • Makes rewriting history impractical

Nodes vs Miners

Nodes

  • Store and verify

  • Can exist without mining

Miners

  • Subset of nodes

  • Run mining software

  • Propose blocks

Mining gives the right to propose, not force acceptance.

How PoW Works

  1. Transactions broadcast

  2. Miners collect transactions

  3. Miners compete

  4. Winner broadcasts block

  5. Nodes verify

  6. Block added

Extra Details

  • Hard to solve, easy to verify

  • Mathematical trust system

  • Criticized for energy usage

Examples of PoW Blockchains

  • Bitcoin (BTC)

  • Ethereum (ETH) (before it switched to PoS in 2022)

  • Litecoin (LTC)

  • Bitcoin Cash (BCH)

  • Dogecoin (DOGE)

  • Monero (XMR)

  • Zcash (ZEC)


Proof of Stake (PoS)

Proof of Stake (PoS) is a consensus mechanism that selects who gets to create the next block based on how much cryptocurrency they stake (lock up) instead of how much computing power they own. Instead of competing with machines and electricity, participants prove their commitment to the network by putting their own funds at risk.

Think of PoS as saying:

“I believe in this network so much that I’m willing to lock my money as collateral. If I cheat, I lose it.”

Why Proof of Stake Exists

Proof of Work is secure, but:

  • It consumes large amounts of electricity

  • Mining hardware is expensive

  • It can favor large mining farms

PoS was designed to:

  • Reduce energy consumption

  • Make participation more accessible

  • Improve scalability

  • Keep strong security

PoS replaces computational competition with economic commitment.

Who Gets to Add the Next Block in PoS?

Participants called validators lock a certain amount of cryptocurrency as stake. The network then selects validators to propose blocks based on factors such as:

  • Size of stake

  • Length of time staked

  • Randomization

The more you stake, the higher your chances but selection is never fully predictable. This prevents manipulation.

Who Are Validators?

Validators are nodes that:

  • Lock up cryptocurrency

  • Verify transactions

  • Propose new blocks

  • Vote on block validity

They replace miners in PoW systems. Anyone who meets the minimum staking requirement can become a validator.

How Proof of Stake Works (Step-by-Step)

  1. User sends a transaction

  2. Transactions are broadcast to the network

  3. Validators check transaction validity

  4. Network selects a validator to propose a block

  5. Validator bundles transactions into a block

  6. Other validators verify the block

  7. If valid, block is added

  8. Validator receives reward

What Prevents Cheating in PoS?

Validators have something to lose. If a validator:

  • Tries to create invalid blocks

  • Signs conflicting blocks

  • Manipulates transactions

The network slashes their stake (takes a portion or all of their locked funds).

This makes attacks extremely costly.

Why PoS Is Secure

  • Attacking requires owning large percentage of total supply

  • Attacker risks losing massive funds

  • Honest behavior is profitable

  • Dishonest behavior is punished

Security comes from economic consequences, not electricity.

Advantages of Proof of Stake

  • Energy efficient

  • Lower hardware requirements

  • Faster transactions

  • Better scalability

  • Environment friendly

Trade-Offs of Proof of Stake

  • Wealth concentration risk

  • More complex logic

  • Newer than PoW (less battle-tested historically)

Still, many modern blockchains prefer PoS.

Examples of PoS Blockchains

  • Ethereum (post-merge)

  • Cardano

  • Solana

  • Avalanche

Simple Analogy for PoS

Imagine a company where board members must buy shares to vote.

More shares = more influence.
If a board member commits fraud = shares are confiscated.

Your money keeps you honest.


Delegated Proof of Stake (DPoS)

Delegated Proof of Stake is an evolution of PoS. Instead of everyone validating blocks, token holders vote for a small group of trusted validators called delegates or witnesses. Think of DPoS as representative democracy.

Why DPoS Exists

PoS improves efficiency. DPoS improves efficiency even further by:

  • Reducing number of block producers

  • Increasing transaction speed

  • Improving scalability

DPoS focuses on performance while maintaining decentralization.

Who Gets to Add the Next Block in DPoS?

  • Token holders vote

  • Top voted candidates become delegates

  • Delegates take turns producing blocks

If a delegate behaves badly, voters can remove them.

Who Are Delegates (Witnesses)?

Delegates are:

  • Trusted block producers

  • Elected by community

  • Responsible for validating and creating blocks

  • Accountable to voters

They operate professional-grade infrastructure.

How DPoS Works (Step-by-Step)

  1. Token holders stake tokens

  2. Token holders vote for delegates

  3. Top candidates become active validators

  4. Users submit transactions

  5. Delegates validate transactions

  6. Delegates take turns creating blocks

  7. Network confirms block

  8. Delegates earn rewards

  9. Voters may receive portion of rewards

What Prevents Cheating in DPoS?

  • Delegates can lose their position

  • Reputation damage

  • Loss of rewards

  • Possible slashing mechanisms

Delegates must maintain trust to remain elected.

Why DPoS Is Fast

  • Fewer validators

  • Organized block production

  • No heavy computation

  • Quick confirmations

This makes DPoS ideal for:

  • High-volume applications

  • Gaming

  • Social platforms

  • DeFi apps

Advantages of DPoS

  • Extremely fast

  • Low fees

  • Scalable

  • Community governance

  • Energy efficient

Trade-Offs of DPoS

  • Smaller validator set

  • Risk of cartel formation

  • Voter apathy

Examples of DPoS Blockchains

  • EOS

  • TRON

  • Steem

  • BitShares

Simple Analogy for DPoS

Country election:

Citizens vote → Parliament members elected → Parliament makes laws → Citizens can vote them out.

Here, power flows from people.