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: remove change:multiaddrs listener #387

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

wemeetagain
Copy link
Member

While the change:multiaddrs listener was a nice idea (we want to know when a peer's IP address changes), in practice it is unnecessary and actually detrimental.

Unnecessary because IP changes will be handled by establishment / closure of streams.

Detrimental because peers can be penalized by announcing their lan IP address which may be the same as another peer. Only a peer that is actually connected on the same IP address should be penalized.

@wemeetagain wemeetagain requested a review from a team as a code owner December 22, 2022 18:40
@wemeetagain wemeetagain merged commit ad1e6ce into master Dec 23, 2022
@wemeetagain wemeetagain deleted the cayman/remove-change-multiaddrs branch December 23, 2022 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants