BETA Solana Wizard โ€” Theory in Academy, Practice in Workshop. Non-custodial, always. View fees
Level 1 ยท Module 1.2

Consensus: How Truth is Decided

If nobody controls the blockchain, who decides which transactions are valid? Who stops someone from spending the same coins twice? The answer is the consensus mechanism โ€” the rulebook every node follows to agree on reality.

โฑ 10 min read ๐ŸŸข Beginner ๐Ÿ“– 5 sections

01 The Byzantine Generals Problem

In 1982, computer scientists described a puzzle that would become the foundation of blockchain design. Imagine ten generals who must collectively decide whether to attack or retreat. They communicate only through messengers. Some generals are traitors sending conflicting messages to different colleagues.

How can the honest generals reach a reliable agreement? This is the exact problem blockchains solve: how do thousands of unknown, potentially dishonest computers agree on one shared version of truth?

02 Proof of Work โ€” Bitcoin's Engine

Bitcoin's answer: make it expensive to lie. To add a block to the chain, you must prove you did an enormous amount of computational work โ€” essentially solving a very hard puzzle.

THE PUZZLE
Miners race to find a number (called a nonce) that, combined with the block's data, produces a hash starting with a specific number of zeros. Like rolling billions of dice per second looking for a specific result.
DIFFICULTY
Bitcoin automatically adjusts how hard the puzzle is to keep block time stable at ~10 minutes, regardless of how many miners are competing.
REWARD
The winning miner receives newly created Bitcoin (the block reward) plus all the transaction fees included in that block.
SECURITY
To attack Bitcoin you would need to control 51% of all global mining power. At today's scale, this would cost billions of dollars per hour โ€” making attacks economically irrational.
โšก
The Cost of PoW Proof of Work consumes massive amounts of electricity. Bitcoin today uses more energy than the entire country of Argentina. This is one of the main criticisms levelled at the mechanism โ€” and the reason most newer blockchains chose a different path.

03 Proof of Stake โ€” The Energy-Efficient Answer

Used by Ethereum (since 2022), Solana, Cardano, and most modern blockchains. Instead of burning electricity, validators lock up cryptocurrency as collateral. Misbehave, and you lose it.

STAKING
To become a validator, you lock up (stake) a quantity of the network's currency. On Ethereum, this requires 32 ETH (~$100K+).
SELECTION
Validators are chosen randomly (with higher probability for larger stakes) to propose and validate new blocks.
SLASHING
If a validator signs contradictory blocks or behaves dishonestly, they get slashed โ€” a portion of their stake is destroyed. Money replaces energy as the deterrent.
EFFICIENCY
PoS uses 99.95% less energy than PoW. Ethereum's switch to PoS in 2022 ("The Merge") cut its energy consumption by roughly that amount overnight.

04 Proof of History โ€” Solana's Clock

Solana invented something unique. Most blockchains struggle with speed because nodes must constantly synchronise with each other to agree on the order of events. Solana's solution: encode time itself into the chain.

Proof of History creates a cryptographic clock โ€” a continuous sequence of hash computations where each output becomes the input for the next. Every event gets stamped with a verifiable timestamp without any coordination needed between nodes. This is what allows Solana to process 65,000+ transactions per second. We'll explore this fully in Level 2.

05 The Trade-offs

No consensus mechanism is perfect. Every design is a set of deliberate trade-offs:

MechanismUsed byEnergySpeedSecurity model
Proof of WorkBitcoinVery High~7 TPSComputational cost
Proof of StakeEthereumVery Low~30 TPSEconomic stake
PoS + PoHSolanaVery Low2,000+ TPSStake + clock
FBAXRPMinimal~1,500 TPSTrusted validator set
There is no "perfect" consensus mechanism. Every choice is a trade-off between security, speed, decentralisation, and energy consumption. Bitcoin chose maximum security at the cost of speed. Solana chose maximum speed with a different security profile.
โ† 1.1 Anatomy of a Blockchain 1.3 Types of Blockchain โ†’