Replies: 1 comment 5 replies
-
This seems like a bug to me. Is the
I don't think subscriptions are intended to be gossiped. In other words, I don't think subscription events go further than one hop.
Are you able to create a small reproducer or even better write a small test that fails? See https://github.com/libp2p/rust-libp2p/blob/master/protocols/gossipsub/tests/smoke.rs on how to write a gossipsub test. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running three nodes, let's call them
bootnode,subscriber, andpublisher. They use the following network behaviours: identify, kademlia, and gossipsub. Bothsubscriberandpublisherconnect to thebootnodeand do a kademlia bootstrap.graph TD; subscriber-->bootnode; publisher-->bootnode;Then,
subscribersubscribes to a gossipsub topic, andpublisherstarts publishing some messages on this topic. The problem is that messages are delivered only ifsubscriberis started afterpublisher. So it seems as if existing subscriptions are not propagated to a new node joining the network. Is this an expected behaviour or a bug? What could be a workaround for this?Beta Was this translation helpful? Give feedback.
All reactions