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

Define CIDv1 as a mutlicodec #187

Merged
merged 2 commits into from
Aug 10, 2020
Merged

Define CIDv1 as a mutlicodec #187

merged 2 commits into from
Aug 10, 2020

Conversation

oed
Copy link
Contributor

@oed oed commented Aug 7, 2020

This PR adds CIDv1 as a multicodec with value 0x01.

Fixes #49

@mikeal
Copy link
Contributor

mikeal commented Aug 7, 2020

Good idea.

We should reserve 2 and 3 as well for future versions.

@oed
Copy link
Contributor Author

oed commented Aug 7, 2020

Sure @mikeal can update the PR!

@Stebalien
Copy link
Member

We should reserve 2 and 3 as well for future versions.

It can't hurt to do that, but I don't think it's critical as we can always pick a different ID. But then again it would be nice to have them be sequential.

@Stebalien Stebalien requested review from mikeal and vmx August 10, 2020 07:23
@Stebalien Stebalien merged commit d39f7af into multiformats:master Aug 10, 2020
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.

Make CID versions multicodecs
4 participants