Skip to main content

VCUniversalParams

Trait VCUniversalParams 

Source
pub trait VCUniversalParams {
    // Required method
    fn max_size(&self) -> usize;
}
Expand description

The proving and verification parameters for the VC scheme

Required Methods§

Source

fn max_size(&self) -> usize

Outputs the maximum number of items that can be committed to with this key

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<F, G1, G2> VCUniversalParams for KZGKey<F, G1, G2>
where F: PrimeField, G1: Group<ScalarField = F>, G2: Group<ScalarField = F>,