mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-08-08 07:53:15 +00:00
18 lines
661 B
Rust
18 lines
661 B
Rust
|
|
//! Storage-free chain-state core shared by the LEZ sequencer and indexer:
|
||
|
|
//! the [`apply_block`] entry point plus [`BlockIngestError`], [`StallReason`],
|
||
|
|
//! [`Tip`], and [`AcceptOutcome`]. See [`ChainState`] for the two-tier model.
|
||
|
|
|
||
|
|
pub use apply::{AcceptOutcome, Tip, apply_block, apply_block_to_state, validate_against_tip};
|
||
|
|
pub use chain::{ChainState, HeadEntry};
|
||
|
|
pub use consistency::{
|
||
|
|
Anchor, AnchorConsistencyCheck, ChainConsistency, ChainMismatch, verify_chain_consistency,
|
||
|
|
};
|
||
|
|
pub use ingest_error::BlockIngestError;
|
||
|
|
pub use stall_reason::StallReason;
|
||
|
|
|
||
|
|
pub mod apply;
|
||
|
|
pub mod chain;
|
||
|
|
pub mod consistency;
|
||
|
|
pub mod ingest_error;
|
||
|
|
pub mod stall_reason;
|