Function reference_trie::calc_root_build
source · pub fn calc_root_build<T, I, A, B, DB>(
data: I,
hashdb: &mut DB
) -> <T::Hash as Hasher>::Outwhere
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.