How Consensus Mechanisms Stop Double-Spending in Blockchain

How Consensus Mechanisms Stop Double-Spending in Blockchain