Skip to main content

Module ledger

Module ledger 

Source
Expand description

A whole ledger: header, transactions with metadata, state changes. Verification and serialization.

Serialization for the log, numbers are little-endian:

header (118 bytes)
u32 transaction count; for each: u32 tx length, tx, u32 meta length, meta
u32 object count; for each: key (32), u8 change type,
    u32 data length, data (0 for a deleted object)

Structs§

Ledger
StateChange

Enums§

Change
How a state object changed in this ledger.