Skip to main content

Crate linera_core

Crate linera_core 

Source
Expand description

This module defines the core Linera protocol.

Re-exports§

pub use client::Client;
pub use crate::join_set_ext::JoinSetExt;
pub use crate::join_set_ext::TaskHandle;
pub use environment::wallet;
pub use environment::wallet::Wallet;
pub use environment::Environment;
pub use genesis_config::GenesisConfig;

Modules§

client
data_types
environment
genesis_config
join_set_ext
An extension trait to allow determining at compile time how tasks are spawned on the Tokio runtime.
node
notifier
worker

Structs§

ChainWorkerConfig
Configuration parameters for the chain worker and its owning WorkerState.

Enums§

LocalNodeError
Error type for the operations on a local node.

Constants§

CHAIN_INFO_MAX_RECEIVED_LOG_ENTRIES
The maximum number of entries in a received_log included in a ChainInfo response.
DEFAULT_QUORUM_GRACE_PERIOD
The default amount of time we wait for additional validators to contribute to the result, as a fraction of how long it took to reach a quorum.