pub struct StarkVerifyingKey<SC: StarkGenericConfig> {
pub commit: Com<SC>,
pub pc_start: Val<SC>,
pub initial_global_cumulative_sum: SepticDigest<Val<SC>>,
pub chip_information: Vec<(String, Dom<SC>, Dimensions)>,
pub chip_ordering: HashMap<String, usize>,
}
Expand description
A verifying key for a STARK.
Fields§
§commit: Com<SC>
The commitment to the preprocessed traces.
pc_start: Val<SC>
The start pc of the program.
initial_global_cumulative_sum: SepticDigest<Val<SC>>
The starting global digest of the program, after incorporating the initial memory.
chip_information: Vec<(String, Dom<SC>, Dimensions)>
The chip information.
chip_ordering: HashMap<String, usize>
The chip ordering.
Implementations§
Source§impl<SC: StarkGenericConfig> StarkVerifyingKey<SC>
impl<SC: StarkGenericConfig> StarkVerifyingKey<SC>
Sourcepub fn observe_into(&self, challenger: &mut SC::Challenger)
pub fn observe_into(&self, challenger: &mut SC::Challenger)
Observes the values of the verifying key into the challenger.
Trait Implementations§
Source§impl<SC: Clone + StarkGenericConfig> Clone for StarkVerifyingKey<SC>
impl<SC: Clone + StarkGenericConfig> Clone for StarkVerifyingKey<SC>
Source§fn clone(&self) -> StarkVerifyingKey<SC>
fn clone(&self) -> StarkVerifyingKey<SC>
Returns a copy 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 moreSource§impl<SC: StarkGenericConfig> Debug for StarkVerifyingKey<SC>
impl<SC: StarkGenericConfig> Debug for StarkVerifyingKey<SC>
Source§impl<'de, SC: StarkGenericConfig> Deserialize<'de> for StarkVerifyingKey<SC>where
Dom<SC>: DeserializeOwned,
impl<'de, SC: StarkGenericConfig> Deserialize<'de> for StarkVerifyingKey<SC>where
Dom<SC>: DeserializeOwned,
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 StarkVerifyingKey<SC>
impl<SC: StarkGenericConfig> Serialize for StarkVerifyingKey<SC>
Auto Trait Implementations§
impl<SC> Freeze for StarkVerifyingKey<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Freeze,
<SC as StarkGenericConfig>::Val: Freeze,
impl<SC> RefUnwindSafe for StarkVerifyingKey<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: RefUnwindSafe,
<SC as StarkGenericConfig>::Val: RefUnwindSafe,
<SC as StarkGenericConfig>::Domain: RefUnwindSafe,
impl<SC> Send for StarkVerifyingKey<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Send,
<SC as StarkGenericConfig>::Domain: Send,
impl<SC> Sync for StarkVerifyingKey<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Sync,
impl<SC> Unpin for StarkVerifyingKey<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: Unpin,
<SC as StarkGenericConfig>::Val: Unpin,
<SC as StarkGenericConfig>::Domain: Unpin,
impl<SC> UnwindSafe for StarkVerifyingKey<SC>where
<<SC as StarkGenericConfig>::Pcs as Pcs<<SC as StarkGenericConfig>::Challenge, <SC as StarkGenericConfig>::Challenger>>::Commitment: UnwindSafe,
<SC as StarkGenericConfig>::Val: UnwindSafe,
<SC as StarkGenericConfig>::Domain: 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