The Consensus Mechanism