pub struct BatchProof<SC: StarkGenericConfig> {
pub commitments: BatchCommitments<Commitment<SC>>,
pub opened_values: BatchOpenedValues<Challenge<SC>>,
pub opening_proof: PcsProof<SC>,
pub global_lookup_data: Vec<Vec<LookupData<Challenge<SC>>>>,
pub degree_bits: Vec<usize>,
}Expand description
A proof of batched STARK instances.
Fields§
§commitments: BatchCommitments<Commitment<SC>>Commitments to all trace and quotient polynomials.
opened_values: BatchOpenedValues<Challenge<SC>>Opened values at the out-of-domain point for all instances.
opening_proof: PcsProof<SC>PCS opening proof for all commitments.
global_lookup_data: Vec<Vec<LookupData<Challenge<SC>>>>Data necessary to verify the global lookup arguments across all instances.
degree_bits: Vec<usize>Per-instance log2 of the extended trace domain size.
For instance i, this stores log2(|extended trace domain|) = log2(N_i) + is_zk().
Trait Implementations§
Source§impl<'de, SC: StarkGenericConfig> Deserialize<'de> for BatchProof<SC>
impl<'de, SC: StarkGenericConfig> Deserialize<'de> for BatchProof<SC>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<SC: StarkGenericConfig> Serialize for BatchProof<SC>
impl<SC: StarkGenericConfig> Serialize for BatchProof<SC>
Auto Trait Implementations§
impl<SC> Freeze for BatchProof<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Proof: Freeze,
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Freeze,
impl<SC> RefUnwindSafe for BatchProof<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Proof: RefUnwindSafe,
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: RefUnwindSafe,
<SC as StarkGenericConfig>::Challenge: RefUnwindSafe,
impl<SC> Send for BatchProof<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Proof: Send,
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Send,
impl<SC> Sync for BatchProof<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Proof: Sync,
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Sync,
impl<SC> Unpin for BatchProof<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Proof: Unpin,
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Unpin,
<SC as StarkGenericConfig>::Challenge: Unpin,
impl<SC> UnsafeUnpin for BatchProof<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Proof: UnsafeUnpin,
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: UnsafeUnpin,
impl<SC> UnwindSafe for BatchProof<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Proof: UnwindSafe,
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: UnwindSafe,
<SC as StarkGenericConfig>::Challenge: 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> 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