brk_iterator 0.2.5

A Bitcoin block iterator
Documentation
1
2
3
4
5
6
7
8
9
use brk_types::{BlockHash, Height};

pub enum BlockRange {
    Span { start: Height, end: Height },
    Start { start: Height },
    End { end: Height },
    Last { n: u32 },
    After { hash: Option<BlockHash> },
}