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