2026-07-08 17:49:21 +03:00
|
|
|
//! Storage-free chain-state core shared by the LEZ sequencer and indexer:
|
|
|
|
|
//! the [`apply_block`] entry point plus [`BlockIngestError`], [`StallReason`],
|
|
|
|
|
//! [`Tip`], and [`AcceptOutcome`]. See `DESIGN.md` for the two-tier model.
|
2026-07-08 17:40:20 +03:00
|
|
|
|
2026-07-16 14:10:54 +03:00
|
|
|
pub use apply::{AcceptOutcome, Tip, apply_block, apply_block_to_state, validate_against_tip};
|
2026-07-09 17:47:48 +03:00
|
|
|
pub use chain::{ChainState, HeadEntry};
|
2026-07-08 17:40:20 +03:00
|
|
|
pub use ingest_error::BlockIngestError;
|
|
|
|
|
pub use stall_reason::StallReason;
|
2026-07-09 17:47:48 +03:00
|
|
|
|
|
|
|
|
pub mod apply;
|
|
|
|
|
pub mod chain;
|
|
|
|
|
pub mod ingest_error;
|
|
|
|
|
pub mod stall_reason;
|