-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GossipSub messages relayed back to source on 3 node network #1081
Comments
was identified by @ufarooqstatus as potentially caused by https://github.com/vacp2p/nim-libp2p/blob/unstable/libp2p/protocols/pubsub/gossipsub.nim#L327 |
Could you please point out what part of the spec does it violate? |
Ok, so the correct permanent link to the offending line is
Regarding what it violates:
I would qualify this as wasteful republishing. |
Thank you for the clarification. I believe the seen cache is checked here https://github.com/vacp2p/nim-libp2p/blob/unstable/libp2p/protocols/pubsub/gossipsub.nim#L517. |
It'd be great if you could reproduce it with a failing test similar to the ones in |
Setting up a 3 node network (nodes A,B,C) and a single GS topic. When A is sending a message to B and C, these are then relayed between them, finally sent back to A. That last step is not supposed to happen, since on that link the same message already travelled and was received.
Message sequence
A->B , A->C
B->C, C->B
C->A, B->A
The text was updated successfully, but these errors were encountered: