calc_root_build

Function calc_root_build 

Source
pub fn calc_root_build<T, I, A, B, DB>(
    data: I,
    hashdb: &mut DB,
) -> <T::Hash as Hasher>::Out
where T: TrieLayout, I: IntoIterator<Item = (A, B)>, A: AsRef<[u8]> + Ord + Debug, B: AsRef<[u8]> + Debug, DB: HashDB<T::Hash, DBValue>,
Expand description

Trie builder trie building utility.