multiopen: Remove unused structs

These were unified as `poly::multiopen::CommitmentData` in
55ef4ea1f7 but the original types were
not removed.
This commit is contained in:
Jack Grigg 2021-12-02 15:31:36 +00:00
parent 8bd9097e55
commit 30045d7488
2 changed files with 0 additions and 14 deletions

View File

@ -15,14 +15,6 @@ use group::Curve;
use std::io;
use std::marker::PhantomData;
#[derive(Debug, Clone)]
struct CommitmentData<C: CurveAffine> {
set_index: usize,
blind: Blind<C::Scalar>,
point_indices: Vec<usize>,
evals: Vec<C::Scalar>,
}
/// Create a multi-opening proof
pub fn create_proof<'a, I, C: CurveAffine, E: EncodedChallenge<C>, T: TranscriptWrite<C, E>>(
params: &Params<C>,

View File

@ -10,12 +10,6 @@ use super::{
};
use crate::arithmetic::{eval_polynomial, lagrange_interpolate, CurveAffine, FieldExt};
use crate::transcript::{EncodedChallenge, TranscriptRead};
#[derive(Debug, Clone)]
struct CommitmentData<C: CurveAffine> {
set_index: usize,
point_indices: Vec<usize>,
evals: Vec<C::Scalar>,
}
/// Verify a multi-opening proof
pub fn verify_proof<