Module root
Available on crate feature
trie
only.Expand description
Common root computation functions.
Functions§
- state_
root - Calculates the root hash of the state represented as MPT.
- state_
root_ ref_ unhashed - Hashes and sorts account keys, then proceeds to calculating the root hash of the state
represented as MPT.
See
state_root_unsorted
for more info. - state_
root_ unhashed - Hashes and sorts account keys, then proceeds to calculating the root hash of the state
represented as MPT.
See
state_root_unsorted
for more info. - state_
root_ unsorted - Sorts the hashed account keys and calculates the root hash of the state represented as MPT.
See
state_root
for more info. - storage_
root - Calculates the root hash of account storage trie.
- storage_
root_ unhashed - Hashes storage keys, sorts them and them calculates the root hash of the storage trie.
See
storage_root_unsorted
for more info. - storage_
root_ unsorted - Sorts and calculates the root hash of account storage trie.
See
storage_root
for more info.