mirror of https://github.com/zcash/halo2.git
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:
parent
8bd9097e55
commit
30045d7488
|
@ -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>,
|
||||
|
|
|
@ -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<
|
||||
|
|
Loading…
Reference in New Issue