Skip to main content

batch_dlog_accumulator_generate

Function batch_dlog_accumulator_generate 

Source
pub fn batch_dlog_accumulator_generate<G: CommitmentCurve>(
    urs: &SRS<G>,
    num_comms: usize,
    chals: &[G::ScalarField],
) -> Vec<G>
Expand description

Generate a batch of dlog accumulator commitments.

ยงPanics

Panics if num_comms is non-zero and chals.len() is not a multiple of the derived round count.