The set of rules that determine consensus (agreement) on a blockchain.

A consensus algorithm is a process in computer science used to agree on a single data value among distributed processes or systems. Consensus algorithms are designed to achieve reliability in a network involving multiple unreliable nodes. As a result, consensus algorithms must be fault-tolerant.