From 37267609836f3e75c85c867ca1b2c0a7ca11681c Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Tue, 23 Nov 2021 10:03:19 +1100 Subject: [PATCH] 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 --- table.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/table.csv b/table.csv index 4950ef1..5bc4f93 100644 --- a/table.csv +++ b/table.csv @@ -35,7 +35,7 @@ dns4, multiaddr, 0x36, permanent, dns6, multiaddr, 0x37, permanent, dnsaddr, multiaddr, 0x38, permanent, protobuf, serialization, 0x50, draft, Protocol Buffers -cbor, serialization, 0x51, permanent, CBOR +cbor, ipld, 0x51, permanent, CBOR raw, ipld, 0x55, permanent, raw binary dbl-sha2-256, multihash, 0x56, draft, rlp, serialization, 0x60, draft, recursive length prefix @@ -122,7 +122,7 @@ wss, multiaddr, 0x01de, permanent, p2p-websocket-star, multiaddr, 0x01df, permanent, http, multiaddr, 0x01e0, draft, 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 libp2p-peer-record, libp2p, 0x0301, permanent, libp2p peer record type libp2p-relay-rsvp, libp2p, 0x0302, permanent, libp2p relay reservation voucher