pub struct SumcheckProof<F> {
pub messages: Vec<ProverMsg<F>>,
pub claimed_sum: F,
}Expand description
Proof generated by the sumcheck prover.
Fields§
§messages: Vec<ProverMsg<F>>List of prover messages, one for each round.
claimed_sum: FThe claimed sum for the first round polynomial.
Trait Implementations§
Source§impl<F: Clone> Clone for SumcheckProof<F>
impl<F: Clone> Clone for SumcheckProof<F>
Source§fn clone(&self) -> SumcheckProof<F>
fn clone(&self) -> SumcheckProof<F>
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 moreSource§impl<F: Debug> Debug for SumcheckProof<F>
impl<F: Debug> Debug for SumcheckProof<F>
Source§impl<F: PrimeField> GenTranscribable for SumcheckProof<F>where
F::Inner: ConstTranscribable,
F::Modulus: ConstTranscribable,
impl<F: PrimeField> GenTranscribable for SumcheckProof<F>where
F::Inner: ConstTranscribable,
F::Modulus: ConstTranscribable,
Source§fn read_transcription_bytes_exact(bytes: &[u8]) -> Self
fn read_transcription_bytes_exact(bytes: &[u8]) -> Self
Creates a new instance from a byte buffer.
The buffer must be exactly the expected length.
Source§fn write_transcription_bytes_exact(&self, buf: &mut [u8])
fn write_transcription_bytes_exact(&self, buf: &mut [u8])
Transcribes the current instance into a byte buffer.
The buffer must be exactly the expected length.
Source§impl<F: PartialEq> PartialEq for SumcheckProof<F>
impl<F: PartialEq> PartialEq for SumcheckProof<F>
Source§impl<F: PrimeField> Transcribable for SumcheckProof<F>where
F::Inner: ConstTranscribable,
F::Modulus: ConstTranscribable,
impl<F: PrimeField> Transcribable for SumcheckProof<F>where
F::Inner: ConstTranscribable,
F::Modulus: ConstTranscribable,
Source§fn get_num_bytes(&self) -> usize
fn get_num_bytes(&self) -> usize
Returns the number of bytes required to represent this type.
The buffer passed to
write_transcription_bytes should be exactly the
length returned by this function.Source§const LENGTH_NUM_BYTES: usize = u32::NUM_BYTES
const LENGTH_NUM_BYTES: usize = u32::NUM_BYTES
Number of bytes required to represent length of this type, could be
zero if known in advance.
Source§fn read_num_bytes(bytes: &[u8]) -> usize
fn read_num_bytes(bytes: &[u8]) -> usize
Read number of bytes required to represent this type.
The buffer must be exactly
LENGTH_NUM_BYTES long.
The buffer passed to read_transcription_bytes should be exactly the
length returned by this function.Source§fn read_transcription_bytes_subset(bytes: &[u8]) -> (Self, &[u8])
fn read_transcription_bytes_subset(bytes: &[u8]) -> (Self, &[u8])
Reads an instance of this type from the beginning of the byte slice, and
returns the instance along with the remaining byte slice.
impl<F: Eq> Eq for SumcheckProof<F>
impl<F> StructuralPartialEq for SumcheckProof<F>
Auto Trait Implementations§
impl<F> Freeze for SumcheckProof<F>where
F: Freeze,
impl<F> RefUnwindSafe for SumcheckProof<F>where
F: RefUnwindSafe,
impl<F> Send for SumcheckProof<F>where
F: Send,
impl<F> Sync for SumcheckProof<F>where
F: Sync,
impl<F> Unpin for SumcheckProof<F>where
F: Unpin,
impl<F> UnsafeUnpin for SumcheckProof<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for SumcheckProof<F>where
F: 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> 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