Extensible serialization
Background
Problem
Solution
Messages have a general structure with:
- Header, which contains meta information about the message, such as payload hash
- Payload
- Header signature
Header and payload are opaque, so that versioning can be managed by appending the fields.
Decisions
Alternatives
Concerns
Assumptions
Risks
Additional Information
https://doi.org/10.6028/NIST.IR.8202
https://github.com/w3f/polkadot-spec/blob/master/host-spec/polkadot-host-spec.pdf
https://filecoin-project.github.io/specsheader payload/#systems__filecoin_blockchain__struct
https://sawtooth.hyperledger.org/docs/core/nightly/master/architecture/transactions_and_batches.html