alloy_trie

Module root

Source

Functionsยง

  • Adjust the index of an item for rlp encoding.
  • Compute a trie root of the collection of rlp encodable items.
  • Compute a trie root of the collection of items with a custom encoder.
  • Ethereum specific trie root functions. Calculates the root hash of the state represented as MPT.
  • Ethereum specific trie root functions. 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.
  • Ethereum specific trie root functions. 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.
  • Ethereum specific trie root functions. Sorts the hashed account keys and calculates the root hash of the state represented as MPT. See state_root for more info.
  • Ethereum specific trie root functions. Calculates the root hash of account storage trie.
  • Ethereum specific trie root functions. Hashes storage keys, sorts them and them calculates the root hash of the storage trie. See storage_root_unsorted for more info.
  • Ethereum specific trie root functions. Sorts and calculates the root hash of account storage trie. See storage_root for more info.