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

connectd: don't ask DNS seeds for addresses on every reconnect. #5837

Merged

Conversation

rustyrussell
Copy link
Contributor

We were stressing the servers if node cannot be found. Only do lookup on manual connect commands.

We were stressing the servers if node cannot be found.  Only do lookup
on manual connect commands.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Protocol: lightningd: Only use DNS server address lookup on manual `connect` commands, not normal reconnection attempts.
@rustyrussell rustyrussell added this to the v23.02 milestone Dec 19, 2022
@cdecker
Copy link
Member

cdecker commented Dec 20, 2022

Was that stress reported in some way? This does degrade the connection experience quite a bit, especially for nodes that have not synced gossip yet, making No address errors much more common.

There is something to be said for privacy though 🤔

@cdecker
Copy link
Member

cdecker commented Dec 21, 2022

On second thought, as a seed operator myself, I always felt quite uncomfortable having access to this data, so this looks like a good improvement.

ACK a4b540e

@rustyrussell rustyrussell mentioned this pull request Dec 23, 2022
@rustyrussell rustyrussell merged commit 22eac96 into ElementsProject:master Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants