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 childrenEdge- 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