mirror of
https://github.com/arnaucube/Nova.git
synced 2026-01-11 08:31:29 +01:00
refactor: make CommitmentKeyExtTrait public (#200)
Allows generic programming on Nova curve cycles.
This commit is contained in:
committed by
GitHub
parent
ac8db99835
commit
dd44a7a9d0
@@ -203,7 +203,9 @@ impl<G: Group> CommitmentEngineTrait<G> for CommitmentEngine<G> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user