Add codecs for IPFS Cluster

It would be useful for Cluster to have our own block codes so that
we can identify ownership of blocks from their CIDs.
This commit is contained in:
Hector Sanjuan 2019-02-06 12:50:58 +00:00
parent 170ecc0b36
commit c629b58216
1 changed files with 6 additions and 0 deletions

View File

@ -431,6 +431,12 @@ torrent-info, Torrent file info field (bencoded), 0x7b
torrent-file, Torrent file (bencoded), 0x7c
ed25519-pub, Ed25519 public key, 0xed
cluster-shard, IPFS Cluster shard block, 0xc100
cluster-crdt-pb, IPFS Cluster CRDT block (pbuf), 0xc101
cluster-crdt-cbor, IPFS Cluster CRDT block (cbor), 0xc102
cluster-reserved1, IPFS Cluster reserved, 0xc103
cluster-reserved2, IPFS Cluster reserved, 0xc104
Content Namespaces,,
ipld-ns, IPLD path, 0xe2
ipfs-ns, IPFS path, 0xe3

1 codec description code
431
432
433
434
435
436
437
438
439
440
441
442