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

refactor(libwaku): allow several multiaddresses for a single peer in store queries #3171

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

richard-ramos
Copy link
Member

nim-libp2p should choose then which multiaddr to use when dialing the peer. This is useful since for example in status-go the storenode list contains both the multiaddress with a DNS, and also another with an IP (for the cases in which for some reason the nameserver fail to resolve the dns name).

It also fixes a parameter name in the ping requests

Copy link

github-actions bot commented Nov 7, 2024

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3171

Built from 8ededf8

Copy link
Contributor

@gabrielmer gabrielmer left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

Copy link
Contributor

@NagyZoltanPeter NagyZoltanPeter left a comment

Choose a reason for hiding this comment

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

LGTM! It's great, thank you.

@richard-ramos richard-ramos merged commit 3cb8ebd into master Nov 8, 2024
9 of 11 checks passed
@richard-ramos richard-ramos deleted the libwaku/store-query-peerAddr branch November 8, 2024 07:36
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.

3 participants