Skip to main content

reth_era_utils/
lib.rs

1//! Moves block history between ERA files ([`reth_era`]) and node storage ([`reth_storage_api`]).
2//!
3//! Each ERA format plugs into a shared pipeline through a per-format seam ([`EraBlockReader`]).
4
5mod history;
6
7mod export;
8
9pub use export::{export, EraBlockWriter, ExportBlock, ExportConfig};
10
11pub use history::{
12    build_index, calculate_td_by_number, decode, import, open, process, process_iter,
13    save_stage_checkpoints, Era1, EraBlockReader, Ere,
14};