A consensus mechanism is a system to ensure that data added to a distributed ledger is valid. There are multiple different forms of consensus mechanisms.