[][src]Trait snarkos_polycommit::data_structures::PCCommitment

pub trait PCCommitment: CanonicalDeserialize + CanonicalSerialize + Clone + Debug + ToBytes {
    fn empty() -> Self;
fn has_degree_bound(&self) -> bool; }

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

Required methods

fn empty() -> Self

Outputs a non-hiding commitment to the zero polynomial.

fn has_degree_bound(&self) -> bool

Does this commitment have a degree bound?

Loading content...

Implementors

impl<E: PairingEngine> PCCommitment for snarkos_polycommit::kzg10::Commitment<E>[src]

impl<E: PairingEngine> PCCommitment for snarkos_polycommit::marlin_pc::Commitment<E>[src]

Loading content...