Skip to main content

decode_tree_delta

Function decode_tree_delta 

Source
pub fn decode_tree_delta(
    data: &[u8],
    anchor: &Tree,
    expected: ContentHash,
) -> Result<Tree, TreeStreamError>
Expand description

Reconstruct an HDC1 tree from exactly one materialized anchor and validate the result against its external object key.