rename and make field public. Prepare to test on Eth
This commit is contained in:
parent
7239a60044
commit
e8409bb70b
@ -128,18 +128,18 @@ impl<E: Engine> Batch<E> {
|
||||
}
|
||||
|
||||
|
||||
pub struct VerificationKey<E:Engine> {
|
||||
alpha_x: E::G2Affine,
|
||||
pub struct VerifyingKey<E:Engine> {
|
||||
pub alpha_x: E::G2Affine,
|
||||
|
||||
alpha: E::G2Affine,
|
||||
pub alpha: E::G2Affine,
|
||||
|
||||
neg_h: E::G2Affine,
|
||||
pub neg_h: E::G2Affine,
|
||||
|
||||
neg_x_n_minus_d: E::G2Affine
|
||||
pub neg_x_n_minus_d: E::G2Affine
|
||||
|
||||
}
|
||||
|
||||
impl<E: Engine> VerificationKey<E> {
|
||||
impl<E: Engine> VerifyingKey<E> {
|
||||
pub fn new(srs: &SRS<E>, n: usize) -> Self {
|
||||
Self {
|
||||
alpha_x: srs.h_positive_x_alpha[1],
|
||||
|
@ -11,7 +11,7 @@ mod batch;
|
||||
mod poly;
|
||||
mod helper;
|
||||
|
||||
pub use self::batch::{Batch, VerificationKey};
|
||||
pub use self::batch::{Batch, VerifyingKey};
|
||||
pub use self::helper::{Aggregate, create_aggregate};
|
||||
pub use self::verifier::{MultiVerifier};
|
||||
pub use self::prover::{create_proof, create_advice};
|
||||
|
Loading…
Reference in New Issue
Block a user