linera_core/chain_worker/mod.rs
1// Copyright (c) Zefchain Labs, Inc.
2// SPDX-License-Identifier: Apache-2.0
3
4//! A worker to handle a single chain.
5
6mod config;
7mod delivery_notifier;
8pub(crate) mod export;
9pub(crate) mod handle;
10pub(crate) mod state;
11
12pub(super) use self::delivery_notifier::DeliveryNotifier;
13pub(crate) use self::state::{BlockOutcome, CrossChainUpdateResult, EventSubscriptionsResult};
14pub use self::{
15 config::ChainWorkerConfig,
16 export::{spawn_block_export_queue, BlockExportConfig, BlockExportHandle},
17 state::ProcessConfirmedBlockMode,
18};