Defines the minimal interface for public params for any polynomial commitment scheme.
| 16 | /// Defines the minimal interface for public params for any polynomial |
| 17 | /// commitment scheme. |
| 18 | pub trait PCUniversalParams: |
| 19 | Clone + core::fmt::Debug + CanonicalSerialize + CanonicalDeserialize |
| 20 | { |
| 21 | /// Outputs the maximum degree supported by the committer key. |
| 22 | fn max_degree(&self) -> usize; |
| 23 | } |
| 24 | |
| 25 | /// Defines the minimal interface of committer keys for any polynomial |
| 26 | /// commitment scheme. |
nothing calls this directly
no outgoing calls
no test coverage detected