pub trait PCCommitment: Clone + CanonicalSerialize + CanonicalDeserialize {
    // Required methods
    fn empty() -> Self;
    fn has_degree_bound(&self) -> bool;
}
Expand description

Defines the minimal interface of commitments for any polynomial commitment scheme.

Required Methods§

source

fn empty() -> Self

Outputs a non-hiding commitment to the zero polynomial.

source

fn has_degree_bound(&self) -> bool

Does this commitment have a degree bound?

Implementors§

source§

impl<E: Pairing> PCCommitment for ark_poly_commit::kzg10::Commitment<E>

source§

impl<E: Pairing> PCCommitment for ark_poly_commit::marlin::marlin_pc::Commitment<E>

source§

impl<G: AffineRepr> PCCommitment for ark_poly_commit::ipa_pc::Commitment<G>