Consensus

The agreement by all stakeholders that a transaction is valid. Blockchain consensus ultimately determines which chain of blocks is considered the correct sequence. A hard fork may occur either when there is a consensus for a protocol upgrade or a lack of consensus regarding the true chain. A consensus mechanism or algorithm defines the process by which individual transactions are confirmed. Notable mechanisms include proof of work, proof of stake, hybrid consensus and distributed ledger technology.