Merge pull request #187 from oed/patch-2

Define CIDv1 as a mutlicodec
This commit is contained in:
Steven Allen 2020-08-10 11:01:54 -07:00 committed by GitHub
commit d39f7af445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,8 @@
name, tag, code, description name, tag, code, description
identity, multihash, 0x00, raw binary identity, multihash, 0x00, raw binary
cidv1, ipld, 0x01, CIDv1
cidv2, ipld, 0x02, CIDv2
cidv3, ipld, 0x03, CIDv3
ip4, multiaddr, 0x04, ip4, multiaddr, 0x04,
tcp, multiaddr, 0x06, tcp, multiaddr, 0x06,
sha1, multihash, 0x11, sha1, multihash, 0x11,

1 name tag code description
2 identity multihash 0x00 raw binary
3 cidv1 ipld 0x01 CIDv1
4 cidv2 ipld 0x02 CIDv2
5 cidv3 ipld 0x03 CIDv3
6 ip4 multiaddr 0x04
7 tcp multiaddr 0x06
8 sha1 multihash 0x11