Module state

Source
Expand description

Support for generating the state root for memdb storage

Functions§

build_root
state_root
Builds state root from the given accounts
storage_root
Builds storage root from the given storage
trie_account_rlp
Returns the RLP for this account.
trie_accounts
Builds iterator over stored key-value pairs ready for account trie root calculation.
trie_storage
Builds iterator over stored key-value pairs ready for storage trie root calculation.