Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #21 from poma/master
Browse files Browse the repository at this point in the history
Expose density tracker
  • Loading branch information
shamatar committed Apr 20, 2020
2 parents 11700d5 + 70cbfe3 commit cbe23cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/groth16/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,15 @@ pub(crate) fn scalars_into_representations<E: Engine>(

// This is a proving assignment with densities precalculated
pub struct PreparedProver<E: Engine>{
assignment: ProvingAssignment<E>,
pub assignment: ProvingAssignment<E>,
}

#[derive(Clone)]
struct ProvingAssignment<E: Engine> {
pub struct ProvingAssignment<E: Engine> {
// Density of queries
a_aux_density: DensityTracker,
b_input_density: DensityTracker,
b_aux_density: DensityTracker,
pub a_aux_density: DensityTracker,
pub b_input_density: DensityTracker,
pub b_aux_density: DensityTracker,

// Evaluations of A, B, C polynomials
a: Vec<Scalar<E>>,
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub mod gm17;
pub mod sonic;

mod group;
mod source;
pub mod source;
mod multiexp;

#[cfg(test)]
Expand Down

0 comments on commit cbe23cc

Please sign in to comment.