MinRoot example improvements (#88)

* support multiple iterations of MinRoot per Nova step

* small edits to println

* fix declaration
This commit is contained in:
Srinath Setty
2022-07-11 13:00:42 -07:00
committed by GitHub
parent ff40d17cc4
commit a04566bb81
2 changed files with 292 additions and 192 deletions

View File

@@ -128,6 +128,14 @@ where
_p_c2: Default::default(),
}
}
/// Returns the number of constraints in the primary and secondary circuits
pub fn num_constraints(&self) -> (usize, usize) {
(
self.r1cs_shape_primary.num_cons,
self.r1cs_shape_secondary.num_cons,
)
}
}
/// A SNARK that proves the correct execution of an incremental computation