darkfi_sdk::dark_tree

Function check_children

Source
fn check_children<T: Clone + Send + Sync>(
    leafs: &[DarkLeaf<T>],
    index: &usize,
    leaf: &DarkLeaf<T>,
    checked_indexes: &[usize],
    offset: &usize,
) -> DarkTreeResult<()>
Expand description

Check DarkLeaf children indexes validity