pub struct MultiStarkVerifyingKey<SC: StarkProtocolConfig> {
pub inner: MultiStarkVerifyingKey0<SC>,
pub pre_hash: SC::Digest,
}Expand description
Common verifying key for multiple AIRs.
This struct contains the necessary data for the verifier to verify proofs generated for multiple AIRs using a single verifying key.
Fields§
§inner: MultiStarkVerifyingKey0<SC>All parts of the verifying key needed by the verifier, except
the pre_hash used to initialize the Fiat-Shamir transcript.
pre_hash: SC::DigestThe hash of all other parts of the verifying key. The Fiat-Shamir hasher will initialize by observing this hash.
Implementations§
Source§impl<SC: StarkProtocolConfig> MultiStarkVerifyingKey<SC>
impl<SC: StarkProtocolConfig> MultiStarkVerifyingKey<SC>
Sourcepub fn max_constraint_degree(&self) -> usize
pub fn max_constraint_degree(&self) -> usize
Global maximum constraint degree across all AIRs and Interactions.
Trait Implementations§
Source§impl<SC: StarkProtocolConfig> Clone for MultiStarkVerifyingKey<SC>
impl<SC: StarkProtocolConfig> Clone for MultiStarkVerifyingKey<SC>
Source§impl<SC: StarkProtocolConfig> Debug for MultiStarkVerifyingKey<SC>
impl<SC: StarkProtocolConfig> Debug for MultiStarkVerifyingKey<SC>
Source§impl<'de, SC: StarkProtocolConfig> Deserialize<'de> for MultiStarkVerifyingKey<SC>
impl<'de, SC: StarkProtocolConfig> Deserialize<'de> for MultiStarkVerifyingKey<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: StarkProtocolConfig> Serialize for MultiStarkVerifyingKey<SC>
impl<SC: StarkProtocolConfig> Serialize for MultiStarkVerifyingKey<SC>
Auto Trait Implementations§
impl<SC> Freeze for MultiStarkVerifyingKey<SC>
impl<SC> RefUnwindSafe for MultiStarkVerifyingKey<SC>where
<SC as StarkProtocolConfig>::Digest: RefUnwindSafe,
<SC as StarkProtocolConfig>::F: RefUnwindSafe,
impl<SC> Send for MultiStarkVerifyingKey<SC>
impl<SC> Sync for MultiStarkVerifyingKey<SC>
impl<SC> Unpin for MultiStarkVerifyingKey<SC>
impl<SC> UnsafeUnpin for MultiStarkVerifyingKey<SC>
impl<SC> UnwindSafe for MultiStarkVerifyingKey<SC>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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