-
Notifications
You must be signed in to change notification settings - Fork 274
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
Detach protocol identifiers from IPFS #45
Comments
@tomaka 💯 agree. This is actually very easy to migrate over given that we can just use the same handler for 2 protocols. @whyrusleeping what do you think? |
Oh yeah, totally. Same with the /ipfs/QmFoo in the multiaddrs. Lets migrate that stuff asap |
This is not the first time I see the |
@victorbjelkholm gotta save bytes! |
I just had a discussion about this because I started confusing Swapping everything in the next versions to |
We're migrating /ipfs multiaddrs to /p2p in the next version. We should also migrate these protocols but, unfortunately, our current protocol negotiation protocol costs us a round-trip per protocol it checks (we're working on a better one). |
Right now the identify protocol is
/ipfs/id/1.0.0
, the kademlia protocol is/ipfs/kad/1.0.0
, and the ping protocol is/ipfs/ping/1.0.0
.If libp2p is to become independant from IPFS, it would be nice to change these identifiers to something like
/p2p/id/1.0.0
,/p2p/kad/1.0.0
and/p2p/ping/1.0.0
instead.Maybe these are other protocols which I can't think of that have the same issue.
The text was updated successfully, but these errors were encountered: