Expand description
Generates trie root.
This module should be used to generate trie root hash.
Traits
Trait describing an object that can hash a slice of bytes. Used to abstract
other types over the hashing algorithm. Defines a single hash
method and an
Out
associated type with the necessary bounds.
Byte-stream oriented trait for constructing closed-form tries.
Functions
Generates a key-hashed (secure) trie root hash for a vector of key-value tuples.
Generates a trie root hash for a vector of key-value tuples
Variant of trie_root
for patricia trie without extension node.
See trie_root
.
Method similar to trie_root
but returning the root encoded
node instead of its hash.
Mainly use for testing or debugging.
Variant of unhashed_trie
for patricia trie without extension node.
See unhashed_trie
.