Skip to main content

setup_zk

Function setup_zk 

Source
pub fn setup_zk<H>(
    cs: ConstraintSystem,
    log_inv_rate: usize,
) -> Result<(ZKVerifier<H>, ZKProver<OptimalPackedB128, H>)>
Expand description

Set up a ZK prover and verifier for the given constraint system using H as the Merkle hash suite.