Function sp_trie::child_delta_trie_root
source · pub fn child_delta_trie_root<L: TrieConfiguration, I, A, B, DB, RD, V>(
keyspace: &[u8],
db: &mut DB,
root_data: RD,
delta: I,
recorder: Option<&mut dyn TrieRecorder<TrieHash<L>>>,
cache: Option<&mut dyn TrieCache<L::Codec>>
) -> Result<<L::Hash as Hasher>::Out, Box<TrieError<L>>>
Expand description
Determine a child trie root given a hash DB and delta values. H is the default hasher, but a generic implementation may ignore this type parameter and use other hashers.