-
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
Improvements related to Gossipsub 1.2 #1131
Comments
@kaiserd the spec https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.1.md#spam-protection-measures says:
I believe this hasn't been implemented. #943 tried to do something similar, but it seems to me it goes against the spec. In order to implement https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.2.md#cancelling-iwant, we need to track in-flight See #1136. |
I won't implement the second point either. We process See #1137. |
Thanks for the update :). |
IDONTWANT
only to remote peers that support Gossipsub 1.2. or higher.Don't send a message as a response to anIWANT
request if the remote peer has sent an IDONTWANT after the request.If the local peer has a pendingIWANT
request from the remote peer P1 and in the meantime receives the message from another remote peer P2, send anIDONTWANT
to peer P1. See https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.2.md#cancelling-iwantThe text was updated successfully, but these errors were encountered: