Blockchain Consensus
Vishal Ranaut
Full Stack Developer | JavaScript, TypeScript, Node.js, Angular, React | Docker & AWS Specialist | Web 3.0 Enthusiast | Innovating with Cutting-Edge Technologies
Blockchain is a distributed peer-to-peer technology. All nodes in the network have to agree on the state of chain and what are its valid blocks. Since there's no centralized control, and nodes cannot be trusted, reaching this agreement is not trivial. Every blockchain implementation must therefore define what's called a?consensus algorithm?to arrive at an agreement.?This is also called?consensus protocol.
Consensus is not exclusive to blockchain. It's a classical problem in distributed computer systems. In fact,
Any algorithm that relies on multiple processes maintaining common state relies on solving the consensus problem.