Trait snarkvm_wasm::data_structures::PCUniversalParams[][src]

pub trait PCUniversalParams: CanonicalSerialize + CanonicalDeserialize + Clone + Debug + ToBytes + FromBytes {
    fn max_degree(&self) -> usize;
}
Expand description

Defines the minimal interface for public params for any polynomial commitment scheme.

Required methods

fn max_degree(&self) -> usize[src]

Outputs the maximum degree supported by the committer key.

Implementors

impl<E> PCUniversalParams for UniversalParams<E> where
    E: PairingEngine
[src]

pub fn max_degree(&self) -> usize[src]