Merge pull request #93 from multiformats/feat/reserve-slash

reserve 0x2f (ASCII /) as the *path* multicodec
This commit is contained in:
Lars Gierth 2019-03-18 17:50:14 +01:00 committed by GitHub
commit ee69bc061a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ murmur3-128, multihash, 0x22,
murmur3-32, multihash, 0x23, murmur3-32, multihash, 0x23,
ip6, multiaddr, 0x29, ip6, multiaddr, 0x29,
ip6zone, multiaddr, 0x2A, ip6zone, multiaddr, 0x2A,
path, namespace, 0x2F, Namespace for string paths. Corresponds to `/` in ASCII.
multicodec, multiformat, 0x30, multicodec, multiformat, 0x30,
multihash, multiformat, 0x31, multihash, multiformat, 0x31,
multiaddr, multiformat, 0x32, multiaddr, multiformat, 0x32,

1 name tag code description
20 murmur3-32 multihash 0x23
21 ip6 multiaddr 0x29
22 ip6zone multiaddr 0x2A
23 path namespace 0x2F Namespace for string paths. Corresponds to `/` in ASCII.
24 multicodec multiformat 0x30
25 multihash multiformat 0x31
26 multiaddr multiformat 0x32