Skip to main content

LogRanges

Type Alias LogRanges 

Source
pub type LogRanges<A, L> = BTreeMap<A, BTreeMap<L, (Option<u32>, Option<u32>)>>;
Expand description

Map of log ranges grouped by author A. Each log is identified with L.

Log ranges are used to express the difference between two LogHeights state vectors. Use the compare_logs method to compute it.

Author "panda":
- "trees" log: [0..6]
- "animals" log: [4..12]

Author "icebear":
- "trees" log: [3..4]

Aliased Typeยง

pub struct LogRanges<A, L> { /* private fields */ }