collect_nodes_from_proofs

Function collect_nodes_from_proofs 

Source
pub(crate) fn collect_nodes_from_proofs<Entry, Key, T, const ARITY: usize>(
    proofs: &[(MerkleProof<Entry, Key, T, ARITY>, Vec<usize>)],
) -> QueryResult<(Vec<(Node, Option<Vec<Vec<u8>>>, Vec<u8>)>, HashSet<Vec<u8>>)>
where Entry: Element + Serialize, Key: Index + Serialize, T: NodeValue,
Expand description

Collects nodes and hashes from merkle proofs. Returns (nodes, hashes) for batch insertion.