-
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: lazy prefix detection #859
Comments
An alternative to this might be to send (if the message is big enough to warrant this):
Then the other side can know who has it, before even sending receiving the full message once. We could even imagine sending |
hm, the question here is what happens when a peer receives |
Sure, maybe that should instead be a new field in the protobuf, which would make backward compatibility even better (if you don't support this extension you'll just ignore it) |
This ended up being IDontWant, which has been implemented #934 |
Consider the following case:
At this point, if the message we're about to send matches any "in-flight" entry, delay sending the message to that peer so as to potentially avoid a duplicate send.
This is expected to work well for larger messages whose prefixes typically are unique.
The text was updated successfully, but these errors were encountered: