Crate reth_trie_common
source ·Expand description
Commonly used types for trie usage.
Modules§
- The implementation of hash builder. MPT hash builder implementation.
- Proof verification logic.
- Common root computation functions.
- triehash
test-utils
Implementation of hasher using our keccak256 hashing function for compatibility withtriehash
crate.
Structs§
- The merkle proof with the relevant account info.
- A branch node in an Ethereum Merkle Patricia Trie.
- A struct representing a branch node in an Ethereum trie.
- A reference to BranchNode and its state mask. NOTE: The stack may contain more items that specified in the state mask.
- An extension node in an Ethereum Merkle Patricia Trie.
- Reference to the extension node. See ExtensionNode from more information.
- A component used to construct the root hash of the trie.
- A leaf node represents the endpoint or terminal node in the trie. In other words, a leaf node is where actual values are stored.
- Reference to the leaf node. See LeafNode from more information.
- The state multiproof of target accounts and multiproofs of their storage tries.
- Structure representing a sequence of nibbles.
- The merkle multiproof of storage trie.
- The merkle proof of the storage entry.
- Account storage trie node.
- The representation of nibbles of the merkle trie stored in the database.
- The representation of nibbles of the merkle trie stored in the database.
- Walker sub node for storing intermediate state root calculation state in the database.
- An Ethereum account as represented in the trie.
- A struct representing a mask of 16 bits, used for Ethereum trie operations.
Enums§
- Enum representing an MPT trie node.
Constants§
- The range of valid child indexes.
- Root hash of an empty trie.
Functions§
- Encodes a given path leaf as a compact array of bytes.
- Optimization for quick encoding of a 32-byte word as RLP.