linera-core 0.15.22

The core Linera protocol, including client and server logic, node synchronization, etc.
// Copyright (c) Zefchain Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

//! A worker to handle a single chain.

mod config;
mod delivery_notifier;
pub(crate) mod export;
pub(crate) mod handle;
pub(crate) mod state;

pub(super) use self::delivery_notifier::DeliveryNotifier;
#[cfg(test)]
pub(crate) use self::state::CrossChainUpdateHelper;
pub(crate) use self::state::{BlockOutcome, CrossChainUpdateResult, EventSubscriptionsResult};
pub use self::{
    config::ChainWorkerConfig,
    export::{spawn_block_export_queue, BlockExportConfig, BlockExportHandle},
    state::ProcessConfirmedBlockMode,
};