This is the consensus based on majority. Each node updates and validates the blockchain network based on certain given set of rules or conditions. If majority of the nodes in the network reflects the same result upon update, then the network is said to be in consensus. There could be few rogue nodes that could violate the network rules, but their outcome is not accepted as it goes against the accepted algorithm. The algorithm should fulfill the necessary conditions, and all the nodes must agree and execute the same conditions to derive at the desired output.