Expand description
Generates trie root.
This module should be used to generate trie root hash.
Enums§
- Different possible value to use for node encoding.
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 anOut
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. Seetrie_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. Seeunhashed_trie
.