Skip to content

Commit

Permalink
update table.csv
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Huseby <dwh@linuxprogrammer.org>
  • Loading branch information
dhuseby committed May 8, 2024
1 parent 0ef368e commit 0a5207c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "multicodec"
version = "1.0.1"
version = "1.0.2"
edition = "2021"
authors = ["Benjamin Kampmann <ben@gnunicorn.org>", "Dave Grantham <dwg@linuxprogrammer.org>"]
description = "Implementation of the Multicodec specification"
Expand Down
15 changes: 13 additions & 2 deletions src/table_gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ build_codec_enum! {
0x78 => (GitRaw, "git-raw"),
0x7b => (TorrentInfo, "torrent-info"),
0x7c => (TorrentFile, "torrent-file"),
0x80 => (Blake3Hashseq, "blake3-hashseq"),
0x81 => (LeofcoinBlock, "leofcoin-block"),
0x82 => (LeofcoinTx, "leofcoin-tx"),
0x83 => (LeofcoinPr, "leofcoin-pr"),
Expand Down Expand Up @@ -546,8 +547,6 @@ build_codec_enum! {
0xd0ea => (Bls12381G1Sig, "bls12_381-g1-sig"),
0xd0eb => (Bls12381G2Sig, "bls12_381-g2-sig"),
0xd0ed => (Eddsa, "eddsa"),
0xd0fa => (Bls12381G1SigShare, "bls12_381-g1-sig-share"),
0xd0fb => (Bls12381G2SigShare, "bls12_381-g2-sig-share"),
0xd191 => (Eip191, "eip-191"),
0xeb51 => (JwkJcsPub, "jwk_jcs-pub"),
0xf101 => (FilCommitmentUnsealed, "fil-commitment-unsealed"),
Expand All @@ -567,5 +566,17 @@ build_codec_enum! {
0xd01201 => (Es284, "es284"),
0xd01202 => (Es512, "es512"),
0xd01205 => (Rs256, "rs256"),
0xd01300 => (Es256KMsig, "es256k-msig"),
0xd01301 => (Bls12381G1Msig, "bls12_381-g1-msig"),
0xd01302 => (Bls12381G2Msig, "bls12_381-g2-msig"),
0xd01303 => (EddsaMsig, "eddsa-msig"),
0xd01304 => (Bls12381G1ShareMsig, "bls12_381-g1-share-msig"),
0xd01305 => (Bls12381G2ShareMsig, "bls12_381-g2-share-msig"),
0xd01306 => (LamportMsig, "lamport-msig"),
0xd01307 => (LamportShareMsig, "lamport-share-msig"),
0xd01308 => (Es256Msig, "es256-msig"),
0xd01309 => (Es284Msig, "es284-msig"),
0xd0130a => (Es512Msig, "es512-msig"),
0xd0130b => (Rs256Msig, "rs256-msig"),
0xd02000 => (Scion, "scion"),
}
39 changes: 25 additions & 14 deletions table.csv
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ cidv2, cid, 0x02, draft, CIDv
cidv3, cid, 0x03, draft, CIDv3
ip4, multiaddr, 0x04, permanent,
tcp, multiaddr, 0x06, permanent,
vlad, cid, 0x07, draft, Verifiable Long-lived ADdress
provenance-log, ipld, 0x08, draft, Verifiable and permissioned append only log
provenance-log-entry, ipld, 0x09, draft, Verifiable and permissioned append only log
vlad, vlad, 0x07, draft, Verifiable Long-lived ADdress
provenance-log, serialization, 0x08, draft, Verifiable and permissioned append only log
provenance-log-entry, serialization, 0x09, draft, Verifiable and permissioned append only log
sha1, multihash, 0x11, permanent,
sha2-256, multihash, 0x12, permanent,
sha2-512, multihash, 0x13, permanent,
Expand Down Expand Up @@ -41,7 +41,7 @@ dns6, multiaddr, 0x37, permanent,
dnsaddr, multiaddr, 0x38, permanent,
multisig, multiformat, 0x39, draft, Digital signature multiformat
multikey, multiformat, 0x3a, draft, Encryption key multiformat
nonce, key, 0x3b, draft, Nonce random value
nonce, nonce, 0x3b, draft, Nonce random value
protobuf, serialization, 0x50, draft, Protocol Buffers
cbor, ipld, 0x51, permanent, CBOR
raw, ipld, 0x55, permanent, raw binary
Expand All @@ -54,6 +54,7 @@ libp2p-key, ipld, 0x72, permanent, Libp
git-raw, ipld, 0x78, permanent, Raw Git object
torrent-info, ipld, 0x7b, draft, Torrent file info field (bencoded)
torrent-file, ipld, 0x7c, draft, Torrent file (bencoded)
blake3-hashseq, ipld, 0x80, draft, BLAKE3 hash sequence - per Iroh collections spec
leofcoin-block, ipld, 0x81, draft, Leofcoin Block
leofcoin-tx, ipld, 0x82, draft, Leofcoin Transaction
leofcoin-pr, ipld, 0x83, draft, Leofcoin Peer Reputation
Expand Down Expand Up @@ -542,12 +543,10 @@ iscc, softhash, 0xcc01, draft, ISCC
zeroxcert-imprint-256, zeroxcert, 0xce11, draft, 0xcert Asset Imprint (root hash)
nonstandard-sig, varsig, 0xd000, deprecated, Namespace for all not yet standard signature algorithms
bcrypt-pbkdf, multihash, 0xd00d, draft, Bcrypt-PBKDF key derivation function
es256k, multisig, 0xd0e7, draft, ES256K Siganture Algorithm (secp256k1)
bls12_381-g1-sig, multisig, 0xd0ea, draft, G1 signature for BLS-12381-G2
bls12_381-g2-sig, multisig, 0xd0eb, draft, G2 signature for BLS-12381-G1
eddsa, multisig, 0xd0ed, draft, Edwards-Curve Digital Signature Algorithm
bls12_381-g1-sig-share, multisig, 0xd0fa, draft, G1 signature share for BLS-12381-G2
bls12_381-g2-sig-share, multisig, 0xd0fb, draft, G1 signature share for BLS-12381-G2
es256k, varsig, 0xd0e7, draft, ES256K Siganture Algorithm (secp256k1)
bls12_381-g1-sig, varsig, 0xd0ea, draft, G1 signature for BLS-12381-G2
bls12_381-g2-sig, varsig, 0xd0eb, draft, G2 signature for BLS-12381-G1
eddsa, varsig, 0xd0ed, draft, Edwards-Curve Digital Signature Algorithm
eip-191, varsig, 0xd191, draft, EIP-191 Ethereum Signed Data Standard
jwk_jcs-pub, key, 0xeb51, draft, JSON object containing only the required members of a JWK (RFC 7518 and RFC 7517) representing the public key. Serialisation based on JCS (RFC 8785)
fil-commitment-unsealed, filecoin, 0xf101, permanent, Filecoin piece or sector data commitment merkle node/root (CommP & CommD)
Expand All @@ -563,8 +562,20 @@ skynet-ns, namespace, 0xb19910, draft, Skyn
arweave-ns, namespace, 0xb29910, draft, Arweave Namespace
subspace-ns, namespace, 0xb39910, draft, Subspace Network Namespace
kumandra-ns, namespace, 0xb49910, draft, Kumandra Network Namespace
es256, multisig, 0xd01200, draft, ES256 Signature Algorithm
es284, multisig, 0xd01201, draft, ES384 Signature Algorithm
es512, multisig, 0xd01202, draft, ES512 Signature Algorithm
rs256, multisig, 0xd01205, draft, RS256 Signature Algorithm
es256, varsig, 0xd01200, draft, ES256 Signature Algorithm
es284, varsig, 0xd01201, draft, ES384 Signature Algorithm
es512, varsig, 0xd01202, draft, ES512 Signature Algorithm
rs256, varsig, 0xd01205, draft, RS256 Signature Algorithm
es256k-msig, multisig, 0xd01300, draft, ES256K Siganture Algorithm (secp256k1) as Multisig
bls12_381-g1-msig, multisig, 0xd01301, draft, G1 signature for BLS-12381-G2 as Multisig
bls12_381-g2-msig, multisig, 0xd01302, draft, G2 signature for BLS-12381-G1 as Multisig
eddsa-msig, multisig, 0xd01303, draft, Edwards-Curve Digital Signature Algorithm as Multisig
bls12_381-g1-share-msig, multisig, 0xd01304, draft, G1 threshold signature share for BLS-12381-G2 as Multisig
bls12_381-g2-share-msig, multisig, 0xd01305, draft, G2 threshold signature share for BLS-12381-G1 as Multisig
lamport-msig, multisig, 0xd01306, draft, Lamport signature as Multisig
lamport-share-msig, multisig, 0xd01307, draft, Lamport threshold signature share as Multisig
es256-msig, multisig, 0xd01308, draft, ES256 Signature Algorithm as Multisig
es284-msig, multisig, 0xd01309, draft, ES384 Signature Algorithm as Multisig
es512-msig, multisig, 0xd0130a, draft, ES512 Signature Algorithm as Multisig
rs256-msig, multisig, 0xd0130b, draft, RS256 Signature Algorithm as Multisig
scion, multiaddr, 0xd02000, draft, SCION Internet architecture

0 comments on commit 0a5207c

Please sign in to comment.