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

feat: add dnsnaddr p2p #62

Merged
merged 2 commits into from
Oct 27, 2020
Merged

feat: add dnsnaddr p2p #62

merged 2 commits into from
Oct 27, 2020

Conversation

vasco-santos
Copy link
Member

Per libp2p/js-libp2p#772 we need to support dnsaddr with /p2p

src/index.js Outdated
@@ -71,7 +72,8 @@ const Reliable = or(
WebRTCStar,
WebRTCDirect,
TCP,
UTP
UTP,
DNSADDR
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this added to Reliable to support the test addition? We may need to replace this with DNS to cover the rest of the formats.

Copy link
Member Author

Choose a reason for hiding this comment

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

This was added to support dials using dnsaddr/p2p/{ID} which fails the mafmt test for P2P on dial. I will change to support all DNS to cover the remaining cases

Copy link
Contributor

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

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

lgtm

@vasco-santos vasco-santos merged commit 86928d4 into master Oct 27, 2020
@vasco-santos vasco-santos deleted the feat/add-dnsaddr-p2p branch October 27, 2020 11:58
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