pub type HashTreeNode = HashTreeNode<Vec<u8>>;
Expand description

A HashTreeNode representing a node in a tree.

Aliased Type§

enum HashTreeNode {
    Empty(),
    Fork(Box<(HashTreeNode<Vec<u8>>, HashTreeNode<Vec<u8>>)>),
    Labeled(Label<Vec<u8>>, Box<HashTreeNode<Vec<u8>>>),
    Leaf(Vec<u8>),
    Pruned([u8; 32]),
}

Variants§

§

Empty()

§

Fork(Box<(HashTreeNode<Vec<u8>>, HashTreeNode<Vec<u8>>)>)

§

Labeled(Label<Vec<u8>>, Box<HashTreeNode<Vec<u8>>>)

§

Leaf(Vec<u8>)

§

Pruned([u8; 32])