Programming ConceptsConsensus Algorithm

Consensus algorithms enable distributed networks to agree on a single version of the truth. Popular methods include Proof of Work (PoW) and Proof of Stake (PoS).

Bitcoin uses Proof of Work to validate transactions.