# \#libp2p-raft

**URL:** https://discuss.ipfs.tech/tag/libp2p-raft/118.md

[Latest](https://discuss.ipfs.tech/latest.md) · [Categories](https://discuss.ipfs.tech/categories.md) · [Tags](https://discuss.ipfs.tech/tags.md)

---

## [Consensus by majority over cluster](https://discuss.ipfs.tech/t/consensus-by-majority-over-cluster/15214)

<div class="topic-metadata">

**Author:** [@ehsan6sha](https://discuss.ipfs.tech/u/ehsan6sha)\
**Replies:** 1\
**Last updated:** [September 19, 2022, 10:52am UTC](https://discuss.ipfs.tech/t/consensus-by-majority-over-cluster/15214 "2022-09-19T10:52:47Z")

</div>

Hi In go-libp2p-raft, when consensus happens over a state change, the leader needs confirmation from a majority of nodes. However, I want to add a condition (check against a condition) in other nodes before applying the…
