Skip to main content

newton_bootnode/
lib.rs

1//! Passive snapshot + delta store for late-joining operator bootstrap.
2//!
3//! Bootnode is policy-free. Staleness and correctness gates live at consumer
4//! boundaries — operator bootstrap (§S.19) and admin injection (NEWT-1078).
5//!
6//! **Cross-store atomicity:** [`SnapshotStore`] and [`DeltaStore`] use
7//! independent redb databases with separate write transactions. Partial-write
8//! states (e.g., snapshot persisted but matching delta missing) are reachable.
9//! For Phase 1 single-instance + 14-day tolerance window this is acceptable —
10//! an admin can re-sync from EigenDA if the stores diverge.
11
12pub mod delta_store;
13pub mod error;
14pub mod snapshot_store;
15
16pub use delta_store::{DeltaEntry, DeltaStore};
17pub use error::BootnodeError;
18pub use snapshot_store::{SnapshotHeader, SnapshotStore};