Function trie_root::unhashed_trie

source ·
pub fn unhashed_trie<H, S, I, A, B>(input: I, threshold: Option<u32>) -> Vec<u8> 
where I: IntoIterator<Item = (A, B)>, A: AsRef<[u8]> + Ord, B: AsRef<[u8]>, H: Hasher, S: TrieStream,
Expand description

Method similar to trie_root but returning the root encoded node instead of its hash. Mainly use for testing or debugging.