CommitterKey

Trait CommitterKey 

Source
pub trait CommitterKey:
    Clone
    + Debug
    + CanonicalSerialize
    + CanonicalDeserialize {
    // Required method
    fn max_degree(&self) -> usize;

    // Provided method
    fn max_evals(&self) -> usize { ... }
}
Expand description

Can be used to commit and open commitments to DensePolynomial of degree up to max_degree.

Required Methods§

Source

fn max_degree(&self) -> usize

Maximal degree of a polynomial supported.

Provided Methods§

Source

fn max_evals(&self) -> usize

Maximal number of evaluations supported when committing in the Lagrangian base.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl CommitterKey for ()

Implementors§