Module sc_light::blockchain[][src]

Expand description

Light client blockchain backend. Only stores headers and justifications of recent blocks. CHT roots are stored for headers of ancient blocks.

Modules

Canonical hash trie definitions and helper functions.

A list of all well known keys in the blockchain cache.

Structs

Light client blockchain.

Blockchain info

Enums

Block status.

Remote header.

State of a new block.

Traits

Provides access to an auxiliary database.

Blockchain database backend. Does not perform any validation.

Blockchain optional data cache.

Blockchain database header backend. Does not perform any validation.

Provides access to the optional cache.

Provide CHT roots. These are stored on a light client and generated dynamically on a full client.

Futures-based blockchain backend that either resolves blockchain data locally, or fetches required data from remote node.

Light client blockchain storage.