pub trait PCUniversalParams: CanonicalSerialize + CanonicalDeserialize + Clone + Debug + ToBytes + FromBytes {
fn max_degree(&self) -> usize;
fn supported_degree_bounds(&self) -> &[usize];
}
Expand description
Defines the minimal interface for public params for any polynomial commitment scheme.
Required methods
fn max_degree(&self) -> usize
fn max_degree(&self) -> usize
Outputs the maximum degree supported by the committer key.
fn supported_degree_bounds(&self) -> &[usize]
fn supported_degree_bounds(&self) -> &[usize]
Supported degree bounds