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

Enable gossiping of newer IPs when connected to an older IP #3035

Merged
merged 4 commits into from
May 21, 2024

Conversation

StephenButtolph
Copy link
Contributor

@StephenButtolph StephenButtolph commented May 20, 2024

Why this should be merged

Simplifies the restrictions on IP gossip.

Fixes a logical race where a peer may connect and claim an IP that doesn't match their actual IP because they haven't noticed that it changed yet.

How this works

Remove the restriction that in order to gossip an IP the node must be connected with that IP (and that that IP is the most recent IP).

How this was tested

  • Updated unit tests

@StephenButtolph StephenButtolph self-assigned this May 20, 2024
@StephenButtolph StephenButtolph added the networking This involves networking label May 20, 2024
@StephenButtolph StephenButtolph added this to the v1.11.6 milestone May 20, 2024
@StephenButtolph StephenButtolph marked this pull request as ready for review May 20, 2024 22:36
@StephenButtolph StephenButtolph mentioned this pull request May 20, 2024
3 tasks
@StephenButtolph StephenButtolph merged commit 20e999d into sov-networking-support May 21, 2024
17 of 18 checks passed
@StephenButtolph StephenButtolph deleted the gossip-updated-ip branch May 21, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
networking This involves networking
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants