reth_trie::root

Function state_root_unsorted

pub fn state_root_unsorted<A>(
    state: impl IntoIterator<Item = (FixedBytes<32>, A)>,
) -> FixedBytes<32>
where A: Into<TrieAccount>,
Expand description

Sorts the hashed account keys and calculates the root hash of the state represented as MPT. See state_root for more info.