Skip to main content

Crate linera_chain

Crate linera_chain 

Source
Expand description

This module manages the state of a Linera chain, including cross-chain communication.

Modules§

block
data_types
manager
Chain manager
test
Test utilities
types

Structs§

ChainIdSet
A set of fully-tracked chains. Wrapped in Hashed (as Hashed<ChainIdSet>) so the hash that identifies the set — stored in ChainStateView::outbox_index_tracked_hash to detect when the outbox indices must be reconciled — is computed once when the tracked set changes rather than on every cross-chain operation. The hash is order-independent because BTreeSet iterates in sorted order.
ChainStateView
A view accessing the state of a chain.
ChainTipState
Block-chaining state.

Enums§

ChainError
ChainExecutionContext

Traits§

ExecutionResultExt