← all simulations

slide 16 · consensus

Consensus algorithms

PoW
PoS
DPoS
PBFT

Run a round of , , and side by side and compare trade-offs.

  1. 1Run a round of each algorithm
  2. 2Compare speed, cost and trust
  3. 3Pick the right one for a use case
live · 0 players in this room

send coins to another player

10.0000 BTC10.0000 ETH
recipient

waiting for another player to join this room… open this page in a second tab or share the link with the class.

fee 0.0005 · total 0.5005 BTC
live transfers in this room
room ledger · tap a row to replay its steps
  • no transfers yet — be the first to pay a classmate.
Sybil resistance
Spend electricity
Energy
Very high
Finality
Probabilistic (6 blocks)
Throughput
7 – 30

One round of Proof of Work

  1. 01all miners assemble candidate blocks from the mempool
  2. 02each brute-forces nonces: SHA-256(header) < target
  3. 03miner #418 finds a valid nonce after 2.1×10^22 attempts
  4. 04block gossiped; every node re-verifies in milliseconds
  5. 05chain grows · reversal now costs re-mining the block
01 algorithm: Proof of Work
02 used by: Bitcoin, Litecoin, Dogecoin
03 attack threshold: 51% of hash power

Strengths

  • +Simplest, most battle-tested
  • +Permissionless: no stake needed
  • +Attack cost is physical and external

Trade-offs

  • Enormous energy use
  • Mining pools re-centralise hash power
  • Never truly final, only improbable to revert

Comparison

MetricPoWPoSDPoSPBFT
EnergyVery highVery low (~99.9% less)Very lowNegligible
FinalityProbabilistic (6 blocks)Deterministic after 2 epochsSecondsImmediate, single block
Throughput7 – 3015 – 1001,000 – 4,0001,000 – 10,000 (small sets)
Fault threshold51% of hash power1/3 stake to stall, 2/3 to finalise a lieMajority of the small delegate setTolerates f faults with 3f+1 nodes
Used byBitcoin, Litecoin, DogecoinEthereum, CardanoEOS, Tron, BNB ChainHyperledger Fabric, Tendermint-style chains

There is no winner — only different answers to "who is allowed to write next, and what stops them lying?" answers with electricity, with capital at risk, with elected representatives, with known identities and a lot of messaging.