Browse Source

refactor: make CommitmentKeyExtTrait public (#200)

Allows generic programming on Nova curve cycles.
main
François Garillot 1 year ago
committed by GitHub
parent
commit
dd44a7a9d0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/provider/pedersen.rs

+ 3
- 1
src/provider/pedersen.rs

@ -203,7 +203,9 @@ impl CommitmentEngineTrait for CommitmentEngine {
} }
} }
pub(crate) trait CommitmentKeyExtTrait<G: Group> {
/// A trait listing properties of a commitment key that can be managed in a divide-and-conquer fashion
pub trait CommitmentKeyExtTrait<G: Group> {
/// Holds the type of the commitment engine
type CE: CommitmentEngineTrait<G>; type CE: CommitmentEngineTrait<G>;
/// Splits the commitment key into two pieces at a specified point /// Splits the commitment key into two pieces at a specified point

Loading…
Cancel
Save