-
Notifications
You must be signed in to change notification settings - Fork 111
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
Add /p2p, /dns4, /dns6, /wss, /p2p-circuit #46
Conversation
b8d535f
to
00cc31f
Compare
00cc31f
to
ed76135
Compare
Updated this as per multiformats/multiaddr#37 The updated scope of this PR is: /p2p, /dns4, /dns6, /wss, /libp2p-circuit-relay |
@whyrusleeping that travis osx failure is odd:
|
Hold off, this needs more |
The canonical protocols.csv in the multiformats/multiaddr repo.
ed76135
to
92dbd0d
Compare
Updated: includes /p2p, /p2p-circuit, /dns4, /dns6, /ws, /wss |
i really don't like us having to modify this package every time we make a change to multiaddrs. This package is pluggable, see how i do it in https://github.com/libp2p/go-ws-transport/blob/master/websocket.go |
Also, i think @jbenet wants to keep the protocols.csv file in there, just for the purpose of making this sort of change more deliberate. |
About removing the protocols.csv, multiple times there was a problem because the unified table was not synced with sub-multiformat table. |
@Kubuxu are you in favor of, or against the table here? |
I think I am against, we might want to improve the table in multicodec to say which multiformat is responsible for that codec but duplicating the table to each repo will be problematic. |
Yep excellent point, thanks 👍 What do you think of breaking it up like this?
|
For /dns4 and /dns6 (and /dnsaddr) I started https://github.com/multiformats/go-multiaddr-dns, which already works and also has a CLI ( |
Closing this as all protocols will be handled in other packages. |
private networks and utility functions
See multiformats/multiaddr#34
The new /exp-dns is a test balloon for /dns and will be renamed once we're sure it's right.
Also removes protocols.csv so that there's one less source of confusion.