Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

TrieNode

Represents a node in a Merkle Patricia Trie

This enum encapsulates the two types of nodes that can exist in a Merkle Patricia Trie: binary nodes (which have exactly two children) and edge nodes (which compress paths).

Variants

  • Binary - A binary node with left and right children
  • Edge - An edge node with a compressed path and single child

Fully qualified path: alexandria_merkle_tree::storage_proof::TrieNode

pub enum TrieNode {
    Binary: BinaryNode,
    Edge: EdgeNode,
}

Variants

Binary

Fully qualified path: alexandria_merkle_tree::storage_proof::TrieNode::Binary

Binary: BinaryNode

Edge

Fully qualified path: alexandria_merkle_tree::storage_proof::TrieNode::Edge

Edge: EdgeNode