Crate alloy_trie
source ·Expand description
§alloy-trie
Fast Merkle-Patricia Trie (MPT) state root calculator and proof generator for prefix-sorted nibbles.
Re-exports§
pub use nodes::BranchNodeCompact;
pub use hash_builder::HashBuilder;
pub use nybbles;
pub use nybbles::Nibbles;
Modules§
- The implementation of the hash builder.
- Various branch nodes produced by the hash builder.
- Proof verification logic.
Structs§
- HashMap
std
A hash map implemented with quadratic probing and SIMD lookup. - A struct representing a mask of 16 bits, used for Ethereum trie operations.
Constants§
- Root hash of an empty trie.