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

cleanup: fullrt #1062

Merged
merged 1 commit into from
Mar 11, 2025
Merged

cleanup: fullrt #1062

merged 1 commit into from
Mar 11, 2025

Conversation

guillaumemichel
Copy link
Contributor

Cleaning up fullrt code.

@guillaumemichel guillaumemichel requested a review from a team as a code owner March 6, 2025 14:57
conns := dht.h.Network().ConnsToPeer(p)
var addrs []multiaddr.Multiaddr
for _, conn := range conns {
addr := conn.RemoteMultiaddr()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we don't want to record the current connect addresses since remote nodes could be using upnp, and may not use the same address in the future.

we want to record the listen addresses they share with us using identify, which are stored in the host's peerstore.

@guillaumemichel guillaumemichel requested a review from sukunrt March 11, 2025 10:13
@guillaumemichel guillaumemichel merged commit 070d085 into master Mar 11, 2025
7 checks passed
@guillaumemichel guillaumemichel deleted the fullrt/cleanup branch March 11, 2025 11:17
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