Function blocks_iterator::iter

source ·
pub fn iter(config: Config) -> impl Iterator<Item = BlockExtra>
Expand description

Return an Iterator of BlockExtra read from blocks*.dat contained in the config.blocks_dir Blocks returned are iterated in order, starting from the genesis to the highest block (minus config.max_reorg) in the directory, unless config.stop_at_height is specified.