Serialization Format

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 description

Affected component

Change motivation

#

Change description

Affected component

Change motivation

1

bincode usage

`Kura` and `Torii`

Initial OOB ready format



2

1-scale-rust implementation

none

Attempt to use 

3

parity-scale-codec usage

`Kura` and `Torii`

Blockchain "world" trusted format

Research strategy

#

Research activity

Details

Acceptance criteria

Responsible (accepter) 

#

Research activity

Details

Acceptance criteria

Responsible (accepter) 

1

Comparison 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