json,cbor: switch to "ipld" tag (#244)
This change moves us toward the "ipld" tag meaning something like "can logically be used as a codec code in a CID"; with the recognition that this is a bit squishy and there is some amount of gentle abuse around the edges of CIDs which we willingly turn a blind eye to. Ref: https://github.com/multiformats/multicodec/issues/242 Ref: https://github.com/ipfs/go-ipfs/issues/8471
This commit is contained in:
parent
b9018562a7
commit
3726760983
|
@ -35,7 +35,7 @@ dns4, multiaddr, 0x36, permanent,
|
||||||
dns6, multiaddr, 0x37, permanent,
|
dns6, multiaddr, 0x37, permanent,
|
||||||
dnsaddr, multiaddr, 0x38, permanent,
|
dnsaddr, multiaddr, 0x38, permanent,
|
||||||
protobuf, serialization, 0x50, draft, Protocol Buffers
|
protobuf, serialization, 0x50, draft, Protocol Buffers
|
||||||
cbor, serialization, 0x51, permanent, CBOR
|
cbor, ipld, 0x51, permanent, CBOR
|
||||||
raw, ipld, 0x55, permanent, raw binary
|
raw, ipld, 0x55, permanent, raw binary
|
||||||
dbl-sha2-256, multihash, 0x56, draft,
|
dbl-sha2-256, multihash, 0x56, draft,
|
||||||
rlp, serialization, 0x60, draft, recursive length prefix
|
rlp, serialization, 0x60, draft, recursive length prefix
|
||||||
|
@ -122,7 +122,7 @@ wss, multiaddr, 0x01de, permanent,
|
||||||
p2p-websocket-star, multiaddr, 0x01df, permanent,
|
p2p-websocket-star, multiaddr, 0x01df, permanent,
|
||||||
http, multiaddr, 0x01e0, draft,
|
http, multiaddr, 0x01e0, draft,
|
||||||
swhid-1-snp, ipld, 0x01f0, draft, SoftWare Heritage persistent IDentifier version 1 snapshot
|
swhid-1-snp, ipld, 0x01f0, draft, SoftWare Heritage persistent IDentifier version 1 snapshot
|
||||||
json, serialization, 0x0200, permanent, JSON (UTF-8-encoded)
|
json, ipld, 0x0200, permanent, JSON (UTF-8-encoded)
|
||||||
messagepack, serialization, 0x0201, draft, MessagePack
|
messagepack, serialization, 0x0201, draft, MessagePack
|
||||||
libp2p-peer-record, libp2p, 0x0301, permanent, libp2p peer record type
|
libp2p-peer-record, libp2p, 0x0301, permanent, libp2p peer record type
|
||||||
libp2p-relay-rsvp, libp2p, 0x0302, permanent, libp2p relay reservation voucher
|
libp2p-relay-rsvp, libp2p, 0x0302, permanent, libp2p relay reservation voucher
|
||||||
|
|
|
Loading…
Reference in New Issue