pub struct BatchableProof {
pub commitments: Vec<CompressedRistretto>,
pub responses: Vec<Scalar>,
}Expand description
A Schnorr proof in batchable format.
This proof has m+n 32-byte elements, where m is the number of
secret variables and n is the number of statements.
Fields§
§commitments: Vec<CompressedRistretto>Commitments to the prover’s blinding factors.
responses: Vec<Scalar>The prover’s responses, one per secret variable.
Trait Implementations§
Source§impl Clone for BatchableProof
impl Clone for BatchableProof
Source§fn clone(&self) -> BatchableProof
fn clone(&self) -> BatchableProof
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for BatchableProof
impl<'de> Deserialize<'de> for BatchableProof
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BatchableProof, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BatchableProof, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BatchableProof
impl Serialize for BatchableProof
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BatchableProof
impl RefUnwindSafe for BatchableProof
impl Send for BatchableProof
impl Sync for BatchableProof
impl Unpin for BatchableProof
impl UnsafeUnpin for BatchableProof
impl UnwindSafe for BatchableProof
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