pub struct PreprocessedVerifierKey<SC: StarkGenericConfig> {
pub width: usize,
pub degree_bits: usize,
pub commitment: <SC::Pcs as Pcs<SC::Challenge, SC::Challenger>>::Commitment,
}Expand description
Verifier-side reusable data for preprocessed columns.
This allows committing to the preprocessed trace once per Air/degree and reusing
the commitment across many verifications.
Fields§
§width: usizeThe width (number of columns) of the preprocessed trace.
degree_bits: usizeThe log2 of the degree of the domain over which the preprocessed trace is committed.
This should match degree_bits in Proof, i.e. the (extended) trace degree.
commitment: <SC::Pcs as Pcs<SC::Challenge, SC::Challenger>>::CommitmentPcs commitment to the preprocessed trace.
Trait Implementations§
Source§impl<SC: Clone + StarkGenericConfig> Clone for PreprocessedVerifierKey<SC>
impl<SC: Clone + StarkGenericConfig> Clone for PreprocessedVerifierKey<SC>
Source§fn clone(&self) -> PreprocessedVerifierKey<SC>
fn clone(&self) -> PreprocessedVerifierKey<SC>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<SC> Freeze for PreprocessedVerifierKey<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Freeze,
impl<SC> RefUnwindSafe for PreprocessedVerifierKey<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: RefUnwindSafe,
impl<SC> Send for PreprocessedVerifierKey<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Send,
impl<SC> Sync for PreprocessedVerifierKey<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Sync,
impl<SC> Unpin for PreprocessedVerifierKey<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Unpin,
impl<SC> UnwindSafe for PreprocessedVerifierKey<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more