I am researching various peer to peer protocols for a distributed application I am working on. Is there any sort of built in mechanism inside of the gossipsub protocol that orders messages or ensures any sort of consensus? From what I can tell the answer is NO, and the expectation is that the application code on the node itself is responsible for this sort of activity. Is that correct?
I have looked into the RAFT protocol and understand it to enforce strong consistency across nodes and I am wondering if it would be something to implement on top of gossipsub? Though my understanding is that raft is not ideal for a situation in which nodes come and go from the network and whatever I implement would need to support that paradigm.