pub struct ShardProof<SC: StarkGenericConfig> {
pub commitment: ShardCommitment<Com<SC>>,
pub opened_values: ShardOpenedValues<Challenge<SC>>,
pub opening_proof: OpeningProof<SC>,
pub chip_ordering: HashMap<String, usize>,
pub public_values: Vec<Val<SC>>,
}
Fields§
§commitment: ShardCommitment<Com<SC>>
§opened_values: ShardOpenedValues<Challenge<SC>>
§opening_proof: OpeningProof<SC>
§chip_ordering: HashMap<String, usize>
§public_values: Vec<Val<SC>>
Implementations§
source§impl<SC: StarkGenericConfig> ShardProof<SC>
impl<SC: StarkGenericConfig> ShardProof<SC>
pub fn cumulative_sum(&self, scope: InteractionScope) -> Challenge<SC>
pub fn log_degree_cpu(&self) -> usize
pub fn contains_cpu(&self) -> bool
pub fn contains_global_memory_init(&self) -> bool
pub fn contains_global_memory_finalize(&self) -> bool
source§impl<SC: StarkGenericConfig> ShardProof<SC>
impl<SC: StarkGenericConfig> ShardProof<SC>
pub fn shape(&self) -> ProofShape
Trait Implementations§
source§impl<SC: Clone + StarkGenericConfig> Clone for ShardProof<SC>
impl<SC: Clone + StarkGenericConfig> Clone for ShardProof<SC>
source§fn clone(&self) -> ShardProof<SC>
fn clone(&self) -> ShardProof<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 ShardProof<SC>
impl<SC: StarkGenericConfig> Debug for ShardProof<SC>
source§impl<'de, SC: StarkGenericConfig> Deserialize<'de> for ShardProof<SC>
impl<'de, SC: StarkGenericConfig> Deserialize<'de> for ShardProof<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 ShardProof<SC>
impl<SC: StarkGenericConfig> Serialize for ShardProof<SC>
Auto Trait Implementations§
impl<SC> Freeze for ShardProof<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 ShardProof<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>::Val: RefUnwindSafe,
<SC as StarkGenericConfig>::Challenge: RefUnwindSafe,
impl<SC> Send for ShardProof<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 ShardProof<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 ShardProof<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>::Val: Unpin,
<SC as StarkGenericConfig>::Challenge: Unpin,
impl<SC> UnwindSafe for ShardProof<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>::Val: 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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