Closed theoreticalbts closed 3 years ago
We should check the serialization against the libp2p implementation of multibase / multihash.
We've decided to change the variable_blob
serialization as well. Editing title and OP to properly describe the new scope.
JSON serialization of
multihash
should be overridden. Currently this C++ code:produces this output:
Expected output is something along the lines of:
where
...
is the serialization of18
followed by the bytes represented by the original stringzJ5yH3KPx14JBLqG9Zssm2iBiQBkpDm8eCxcqsLkCTpxL
All serializations / deserializations on all targets should implement the same behavior.