add in some more codes

This commit is contained in:
Jeromy 2016-11-22 12:35:45 -08:00
parent d6e0ec1b94
commit d5937d45ce

View File

@ -35,6 +35,7 @@ multihashes,,
sha1, , 0x11
sha2-256, , 0x12
sha2-512, , 0x13
dbl-sha2-256, , 0x56
sha3-224, , 0x17
sha3-256, , 0x16
sha3-384, , 0x15
@ -45,6 +46,7 @@ keccak-224, , 0x1A
keccak-256, , 0x1B
keccak-384, , 0x1C
keccak-512, , 0x1D
murmur3, , 0x22
,, Note: keccak has variable output length. The number specifies the core length
blake2b, , 0x40
blake2s, , 0x41
@ -84,5 +86,7 @@ eth-block, Ethereum Block (RLP), 0x90
eth-tx, Ethereum Tx (RLP), 0x91
bitcoin-block, Bitcoin Block, 0xb0
bitcoin-tx, Bitcoin Tx, 0xb1
zcash-block, Zcash Block, 0xc0
zcash-tx, Zcash Tx, 0xc1
stellar-block, Stellar Block, 0xd0
stellar-tx, Stellar Tx, 0xd1

1 codec description code
35 sha3-384 sha3-256 0x15 0x16
36 sha3-512 sha3-384 0x14 0x15
37 shake-128 sha3-512 0x18 0x14
38 shake-128 0x18
39 shake-256 0x19
40 keccak-224 0x1A
41 keccak-256 0x1B
46 blake2s blake2b 0x41 0x40
47 reserved for apps blake2s appl specific range 0x4000-0x40f0 0x41
48 multiaddrs reserved for apps appl specific range 0x4000-0x40f0
49 multiaddrs
50 ip4 0x04
51 ip6 0x29
52 tcp 0x06
86
87
88
89
90
91
92