Function trie_root::unhashed_trie[][src]

pub fn unhashed_trie<H, S, I, A, B>(input: I, threshold: Option<u32>) -> Vec<u8>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
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.