binius_core::merkle_tree

Function build_from_iterator

Source
pub fn build_from_iterator<F, H, C, ParIter>(
    compression: &C,
    iterated_chunks: ParIter,
    log_len: usize,
) -> Result<BinaryMerkleTree<Output<H>>, Error>
where F: TowerField, H: Digest + BlockSizeUser + FixedOutputReset, C: PseudoCompressionFunction<Output<H>, 2> + Sync, ParIter: IndexedParallelIterator<Item: IntoIterator<Item = F>>,