mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-08-10 15:03:33 +00:00
18 lines
713 B
Rust
18 lines
713 B
Rust
|
|
//! Shared, storage-free chain-state core for the LEZ sequencer and indexer.
|
||
|
|
//!
|
||
|
|
//! Hosts the single validate-then-apply entry point ([`apply_block`]) plus the
|
||
|
|
//! shared types ([`BlockIngestError`], [`StallReason`], [`Tip`],
|
||
|
|
//! [`AcceptOutcome`]) that both the sequencer and the indexer build on. The
|
||
|
|
//! crate performs no I/O: callers own their storage and drive the
|
||
|
|
//! `scratch → persist → commit` ordering around these primitives.
|
||
|
|
//!
|
||
|
|
//! See `DESIGN.md` in this crate for the two-tier chain-state model this backs.
|
||
|
|
|
||
|
|
pub mod apply;
|
||
|
|
pub mod ingest_error;
|
||
|
|
pub mod stall_reason;
|
||
|
|
|
||
|
|
pub use apply::{AcceptOutcome, Tip, apply_block};
|
||
|
|
pub use ingest_error::BlockIngestError;
|
||
|
|
pub use stall_reason::StallReason;
|