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

add multicodecs list to libp2p spec #94

Merged
merged 1 commit into from
May 10, 2016
Merged

add multicodecs list to libp2p spec #94

merged 1 commit into from
May 10, 2016

Conversation

daviddias
Copy link
Member

Writing these down in the spec so that we agree and don't loose them again.

@jbenet jbenet added the status/in-progress In progress label Apr 15, 2016
| multiplex | /multiplex/6.7.0 |
| spdy | /spdy/3.1.0 |
| dht | /ipfs/dht/1.0.0 |
| bitswap | /ipfs/bitswap/1.0.0 |
Copy link
Member Author

Choose a reason for hiding this comment

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

@whyrusleeping found:

exchange/bitswap/network/interface.go
11:var ProtocolBitswap protocol.ID = "/ipfs/bitswap"

Any reason to not have a version?

Copy link
Member

Choose a reason for hiding this comment

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

Hrm... that appears to be a typo. I remember making a commit where I added versions to this, diag and the dht. Where did that go?

| yamux | /yamux/1.0.0 |
| multiplex | /multiplex/6.7.0 |
| spdy | /spdy/3.1.0 |
| dht | /ipfs/dht/1.0.0 |
Copy link
Member Author

@daviddias daviddias Apr 15, 2016

Choose a reason for hiding this comment

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

Missing semver

routing/dht/dht.go
32:var ProtocolDHT protocol.ID = "/ipfs/dht"

@daviddias
Copy link
Member Author

@whyrusleeping could you confirm this list and see if I also missed a protocol?

@daviddias
Copy link
Member Author

@whyrusleeping I've updated these according to the gist. Is it good to update the ones in go to also use semver?

relay | /ipfs/relay/line/1.0.0
diagnostics | /ipfs/diag/net/1.0.0
Kademlia DHT | /ipfs/kad/1.0.0
bitswap | /ipfs/bitswap/1.0.0
Copy link
Member Author

Choose a reason for hiding this comment

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

@whyrusleeping can you ping me here when you get to merge the double handlers on go-ipfs to support the version with semver? thank you :)

//cc @dignifiedquire

@daviddias daviddias merged commit 9eef0a9 into master May 10, 2016
@daviddias daviddias deleted the multicodecs branch May 10, 2016 07:35
@jbenet jbenet removed the status/in-progress In progress label May 10, 2016
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