Module local_chain

Source
Expand description

The LocalChain is a local implementation of ChainOracle.

Structs§

AlterCheckPointError
Represents a failure when trying to insert/remove a checkpoint to/from LocalChain.
CannotConnectError
Occurs when an update does not have a common checkpoint with the original chain.
ChangeSet
The ChangeSet represents changes to LocalChain.
CheckPoint
A checkpoint is a node of a reference-counted linked list of BlockIds.
CheckPointIter
Iterates over checkpoints backwards.
LocalChain
This is a local implementation of ChainOracle.
MissingGenesisError
An error which occurs when a LocalChain is constructed without a genesis checkpoint.

Enums§

ApplyHeaderError
The error type for LocalChain::apply_header_connected_to.