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

Polish feature remote_addr #5244

Merged
merged 6 commits into from
Jun 17, 2022

Conversation

m-schmoock
Copy link
Collaborator

@m-schmoock m-schmoock commented May 8, 2022

Now that the feature is out in the wild, I see several improvements that can be made:

Changelog-Changed: connectd: prefer IPv6 connections when available.
...So it can be reused somewhere else

Changelog-None
Changelog-Fixed: JSON-RPC: Adds dynamically detected public IP addresses to `getinfo`
Before this fix, there was the situation where a DEVELOPER=1 node would
announce non-public addresses on mainnet if detected. Since there
are some nodes on the internet that falsely report local addresses
we move this 'testing feature' to 'dev-allow-locahost' nodes.

Changelog-None
Changelog-Added: jsonrpc: adds optional `remote_addr` to listpeers
Copy link
Contributor

@rustyrussell rustyrussell left a comment

Choose a reason for hiding this comment

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

Ack 36baf23

@rustyrussell rustyrussell merged commit 475e4c9 into ElementsProject:master Jun 17, 2022
@rustyrussell
Copy link
Contributor

Nice work!

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