Define transports for use in signalling protocol support

These will be signalled through e.g. the metadata sent to indexers for signalling howa provider can provide CIDs
This commit is contained in:
Will Scott 2022-03-02 17:59:51 +01:00
parent 4e93923b1a
commit ce6d26a8c0
No known key found for this signature in database
GPG Key ID: 18727B3A6E1E49F6
1 changed files with 2 additions and 0 deletions

View File

@ -129,6 +129,8 @@ libp2p-peer-record, libp2p, 0x0301, permanent, libp2
libp2p-relay-rsvp, libp2p, 0x0302, permanent, libp2p relay reservation voucher
car-index-sorted, serialization, 0x0400, draft, CARv2 IndexSorted index format
car-multihash-index-sorted, serialization, 0x0401, draft, CARv2 MultihashIndexSorted index format
transport-bitswap, transport, 0x0900, draft, Bitswap datatransfer
transport-graphsync-filecoinv1, transport, 0x0910, draft, Filecoin graphsync datatransfer
sha2-256-trunc254-padded, multihash, 0x1012, permanent, SHA2-256 with the two most significant bits from the last byte zeroed (as via a mask with 0b00111111) - used for proving trees as in Filecoin
sha2-224, multihash, 0x1013, permanent, aka SHA-224; as specified by FIPS 180-4.
sha2-512-224, multihash, 0x1014, permanent, aka SHA-512/224; as specified by FIPS 180-4.

1 name tag code status description
129 libp2p-relay-rsvp libp2p 0x0302 permanent libp2p relay reservation voucher
130 car-index-sorted serialization 0x0400 draft CARv2 IndexSorted index format
131 car-multihash-index-sorted serialization 0x0401 draft CARv2 MultihashIndexSorted index format
132 transport-bitswap transport 0x0900 draft Bitswap datatransfer
133 transport-graphsync-filecoinv1 transport 0x0910 draft Filecoin graphsync datatransfer
134 sha2-256-trunc254-padded multihash 0x1012 permanent SHA2-256 with the two most significant bits from the last byte zeroed (as via a mask with 0b00111111) - used for proving trees as in Filecoin
135 sha2-224 multihash 0x1013 permanent aka SHA-224; as specified by FIPS 180-4.
136 sha2-512-224 multihash 0x1014 permanent aka SHA-512/224; as specified by FIPS 180-4.