add 0x0301: libp2p-peer-record mapping. (#157)

This commit is contained in:
Raúl Kripalani 2020-01-31 18:25:32 +00:00 committed by GitHub
parent 18e8a24af9
commit 06a69e5073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,7 @@ p2p-websocket-star, multiaddr, 0x01df,
http, multiaddr, 0x01e0,
json, serialization, 0x0200, JSON (UTF-8-encoded)
messagepack, serialization, 0x0201, MessagePack
libp2p-peer-record, libp2p, 0x0301, libp2p peer record type
x11, multihash, 0x1100,
sm3-256, multihash, 0x534d,
blake2b-8, multihash, 0xb201, Blake2b consists of 64 output lengths that give different hashes

1 name tag code description
100 http multiaddr 0x01e0
101 json serialization 0x0200 JSON (UTF-8-encoded)
102 messagepack serialization 0x0201 MessagePack
103 libp2p-peer-record libp2p 0x0301 libp2p peer record type
104 x11 multihash 0x1100
105 sm3-256 multihash 0x534d
106 blake2b-8 multihash 0xb201 Blake2b consists of 64 output lengths that give different hashes