Consensus

Honest nodes, liars, and the race to agree.

Tune node counts, Byzantine faults, and network delay to see how different protocols hang together—or fall apart.

Consensus Byzantine faults Network delay Paxos / PBFT / PoW

Quick guide

  • Pick nodes, fault rate, delay, and protocol.
  • Initialize then Step rounds or Auto-run to watch convergence.
  • Change parameters to see when agreement breaks.
PoW Controls
Honest vs attacker
Longest valid chain wins; finalized after confirmations.
Ready
Chain race
Runs until clear lead (3-block gap)
In progress
Effectively final (past the 3-block threshold):
Green blocks = confirmed on the leading chain. Neutral blocks = unconfirmed. Stops when the leader is ahead by 3 blocks.
Gossip, liars, and quorum math
  1. Click Restart to seed five chains at the same genesis block.
  2. Use Step to advance once or Auto-run to animate batches of steps.
  3. Watch the badge and gap; the race stops when one chain is 3 blocks ahead.
  4. Green = confirmed blocks on the leader; the final row lists “effectively final” blocks.