Function reth::primitives::static_file::find_fixed_range

pub const fn find_fixed_range(block: u64) -> SegmentRangeInclusive
Expand description

Each static file has a fixed number of blocks. This gives out the range where the requested block is positioned. Used for segment filename.