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