Skip to main content

walk_from

Function walk_from 

Source
pub fn walk_from(
    items: &[(Hash, Hash)],
    key: &Hash,
    depth: usize,
) -> (Vec<[Hash; 16]>, Option<(Hash, Hash)>)
Expand description

Inner nodes from depth down to the slot of key, for sorted leaves that share the key’s first depth nibbles, and the leaf in that slot: the key’s own, another key’s (which proves the key absent), or none.