Replies: 1 comment 4 replies
-
To quickly answer the side question: peers joining a topic would not be able to see older messages, only new ones so long as they are subscribed (not including other factors such as connectivity, etc). For the peer to receive older messages, that would be up to the implementation of libp2p to decide, such as sending a request from peer(s) on the topic for older messages, having a rendezvous that would store previous messages, etc. This is mostly up to you to decide, though this would require a little more work from your end if you wish for the peer(s) to receive older messages. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How does the libp2p GossipSub protocol handle message delivery in the event of a network partition, specifically with respect to messages that were lost during the partition? are lost messages retrieved upon network re-connection automatically by the protocol or are they permanently dropped and must be re-gossiped or requested manually? in other words, does the protocol provide a reliable delivery mechanism even after node crashes, or is it only a best-effort protocol?
another side question is about newly joined peers, will they receive old topic messages that they subscribed to or just receive the new ones?
Beta Was this translation helpful? Give feedback.
All reactions