A consensus is an algorithm(system, method, or mechanism) with agreed upon rules for a network of computers to come to agreement on the current state of a distributed system.
Consensus Algorithms can vary in their rules and specifications, However generally they follow this process: