Merge pull request #123 from Kenadia/messagepack

Add MessagePack serialization format.
This commit is contained in:
Steven Allen 2019-07-24 18:03:02 -07:00 committed by GitHub
commit dac00691c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ wss, multiaddr, 0x01de,
p2p-websocket-star, multiaddr, 0x01df,
http, multiaddr, 0x01e0,
json, serialization, 0x0200, JSON (UTF-8-encoded)
messagepack, serialization, 0x0201, MessagePack
x11, multihash, 0x1100,
blake2b-8, multihash, 0xb201, Blake2b consists of 64 output lengths that give different hashes
blake2b-16, multihash, 0xb202,

1 name tag code description
96 p2p-websocket-star multiaddr 0x01df
97 http multiaddr 0x01e0
98 json serialization 0x0200 JSON (UTF-8-encoded)
99 messagepack serialization 0x0201 MessagePack
100 x11 multihash 0x1100
101 blake2b-8 multihash 0xb201 Blake2b consists of 64 output lengths that give different hashes
102 blake2b-16 multihash 0xb202