Struct poly_commitment::commitment::BatchEvaluationProof
source · pub struct BatchEvaluationProof<'a, G, EFqSponge, OpeningProof>where
G: AffineRepr,
EFqSponge: FqSponge<G::BaseField, G, G::ScalarField>,{
pub sponge: EFqSponge,
pub evaluations: Vec<Evaluation<G>>,
pub evaluation_points: Vec<G::ScalarField>,
pub polyscale: G::ScalarField,
pub evalscale: G::ScalarField,
pub opening: &'a OpeningProof,
pub combined_inner_product: G::ScalarField,
}
Expand description
Contains the batch evaluation
Fields§
§sponge: EFqSponge
Sponge used to coin and absorb values and simulate non-interactivity using the Fiat-Shamir transformation.
evaluations: Vec<Evaluation<G>>
A list of evaluations, each supposed to correspond to a different polynomial.
evaluation_points: Vec<G::ScalarField>
The actual evaluation points. Each field evaluations
of each structure
of Evaluation
should have the same (outer) length.
polyscale: G::ScalarField
A challenge to combine polynomials. Powers of this point will be used, hence the name.
evalscale: G::ScalarField
A challenge to aggregate multiple evaluation points.
opening: &'a OpeningProof
The opening proof.
combined_inner_product: G::ScalarField
Auto Trait Implementations§
impl<'a, G, EFqSponge, OpeningProof> RefUnwindSafe for BatchEvaluationProof<'a, G, EFqSponge, OpeningProof>where EFqSponge: RefUnwindSafe, G: RefUnwindSafe, OpeningProof: RefUnwindSafe, <G as AffineRepr>::ScalarField: RefUnwindSafe,
impl<'a, G, EFqSponge, OpeningProof> Send for BatchEvaluationProof<'a, G, EFqSponge, OpeningProof>where EFqSponge: Send, OpeningProof: Sync,
impl<'a, G, EFqSponge, OpeningProof> Sync for BatchEvaluationProof<'a, G, EFqSponge, OpeningProof>where EFqSponge: Sync, OpeningProof: Sync,
impl<'a, G, EFqSponge, OpeningProof> Unpin for BatchEvaluationProof<'a, G, EFqSponge, OpeningProof>where EFqSponge: Unpin, G: Unpin, <G as AffineRepr>::ScalarField: Unpin,
impl<'a, G, EFqSponge, OpeningProof> UnwindSafe for BatchEvaluationProof<'a, G, EFqSponge, OpeningProof>where EFqSponge: UnwindSafe, G: UnwindSafe, OpeningProof: RefUnwindSafe, <G as AffineRepr>::ScalarField: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more