Function calc_root

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

Trie builder root calculation utility.