Skip to content
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

fix: only send IDONTWANT to mesh peers #1261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

richard-ramos
Copy link
Member

@richard-ramos richard-ramos commented Feb 18, 2025

According to the specs, IDONTWANT messages should be sent to mesh peers, and does not specify that fanout peers and direct peers should also receive this type of message.

cc: @AkshayaMani

Copy link
Member

@vladopajic vladopajic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@arnetheduck
Copy link
Contributor

hm, interesting conundrum .. if they have us as a direct peer, we want to send IDONTWANT to them to avoid getting a redundant copy - I don't remember if we announce the direct-ness to the other party the same way we understand their participation in the mesh.

Ditto fanout, could we somehow anticipate if they are about to send us a message as part of their fanout? I guess not, but ...

@richard-ramos richard-ramos changed the title fix: only send IDONT to mesh peers fix: only send IDONTWANT to mesh peers Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants