Serialization Format

Priority

MUST

Type of change request

FEATURE

Epic link
Status

DONE

Target release


0.1.0

Vision: Block storage and network communications between clients and peers require compact and fast de/serialization format. parity-scale-codec was chosen for this task.

Functional details: Blocks, transactions and all inner structures are de/encodable into `Scale` format.

Environmental objectives: None

Changelog 

#Change descriptionAffected componentChange motivation
1bincode usage`Kura` and `Torii`

Initial OOB ready format


21-scale-rust implementationnoneAttempt to use 
3parity-scale-codec usage`Kura` and `Torii`Blockchain "world" trusted format

Research strategy

#Research activityDetailsAcceptance criteriaResponsible (accepter) 
1Comparison of different formats

https://github.com/humb1t/1code-rust/pull/1

  • time (lower is better)
  • size (lower is better)

Kamil Salakhiev

Makoto Takemiya

Egor Ivkov

Tasks

https://github.com/hyperledger/iroha/pull/426