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§

hash_builder
The implementation of the hash builder.
nodes
Various branch nodes produced by the hash builder.
proof
Proof verification logic.
root

Structs§

TrieMask
A struct representing a mask of 16 bits, used for Ethereum trie operations.

Constants§

EMPTY_ROOT_HASH
Root hash of an empty trie.
KECCAK_EMPTY
Keccak256 over empty array.