reth_era/
lib.rs

1//! Era and Era1 files support for Ethereum history expiry.
2//!
3//! Era1 files use the same e2store foundation but are specialized for
4//! execution layer block history, following the format:
5//! Version | block-tuple* | other-entries* | Accumulator | `BlockIndex`
6//!
7//! Era files are special instances of `.e2s` files with a strict content format
8//! optimized for reading and long-term storage and distribution.
9//!
10//! See also:
11//! - E2store format: <https://github.com/status-im/nimbus-eth2/blob/stable/docs/e2store.md>
12//! - Era format: <https://github.com/eth-clients/e2store-format-specs/blob/main/formats/era.md>
13//! - Era1 format: <https://github.com/eth-clients/e2store-format-specs/blob/main/formats/era1.md>
14
15pub mod common;
16pub mod e2s;
17pub mod era;
18pub mod era1;
19
20#[cfg(test)]
21pub(crate) mod test_utils;