Expand description

Substrate blockchain traits and primitives.

Modules

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

Structs

Cached header metadata. Used to efficiently traverse the tree.

Hash and number of a block.

Caches header metadata in an in-memory LRU cache.

Blockchain info

A tree-route from one block to another in the chain.

Enums

Error when the runtime failed to apply an extrinsic.

Block status.

Substrate Client error

Traits

Blockchain database backend. Does not perform any validation.

Blockchain optional data cache.

Blockchain database header backend. Does not perform any validation.

Handles header metadata: hash, number, parent hash, etc.

Provides access to the optional cache.

Functions

Get lowest common ancestor between two blocks in the tree.

Compute a tree-route between two blocks. See tree-route docs for more details.

Type Definitions

Client Result type alias