this concept of consensus is an interesting topic in a decentralized or distributed network. So, consensus means it is a procedure to reach a common agreement in a decentralized or distributed platform. So, here is an example of a typical example of a consensus.

The mechanism you can assume, that in an army there are 4 generals and generals are taking some kind of decisions. And when the generals are taking the decisions in a decentralized way; that means, they have their own policies to take the decision they can either make an attack or can retreat from the attack.

Now, in a consensus algorithm, these generals individually express their opinion on their individual opinion and from their individual opinion by applying some kind of choice function, which can be the majority decision in this particular case.

So, by applying such kind of choice function the environment or the system finally, decides what to do next. So, here in this particular An example that 3 generals they are making a choice towards attack. with the majority, the principle the system can come to a consensus that they should make an attack collectively.read more

profile
blockchain technology(hyper ledger,corda, ethereum)

0개의 댓글