Function sp_trie::child_trie_root

source ·
pub fn child_trie_root<L: TrieConfiguration, I, A, B>(
    input: I
) -> <L::Hash as Hasher>::Outwhere
    I: IntoIterator<Item = (A, B)>,
    A: AsRef<[u8]> + Ord,
    B: AsRef<[u8]>,
Expand description

Determine a child trie root given its ordered contents, closed form. H is the default hasher, but a generic implementation may ignore this type parameter and use other hashers.