[][src]Struct bulletproofs::range_proof::messages::ProofShare

pub struct ProofShare {
    pub(super) t_x: Scalar,
    pub(super) t_x_blinding: Scalar,
    pub(super) e_blinding: Scalar,
    pub(super) l_vec: Vec<Scalar>,
    pub(super) r_vec: Vec<Scalar>,
}

A party's proof share, ready for aggregation into the final RangeProof.

Fields

t_x: Scalart_x_blinding: Scalare_blinding: Scalarl_vec: Vec<Scalar>r_vec: Vec<Scalar>

Methods

impl ProofShare[src]

pub(super) fn audit_share(
    &self,
    bp_gens: &BulletproofGens,
    pc_gens: &PedersenGens,
    j: usize,
    bit_commitment: &BitCommitment,
    bit_challenge: &BitChallenge,
    poly_commitment: &PolyCommitment,
    poly_challenge: &PolyChallenge
) -> Result<(), ()>
[src]

Audit an individual proof share to determine whether it is malformed.

Trait Implementations

impl Clone for ProofShare[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ProofShare[src]

impl<'de> Deserialize<'de> for ProofShare[src]

fn deserialize_in_place<D>(
    deserializer: D,
    place: &mut Self
) -> Result<(), <D as Deserializer<'de>>::Error> where
    D: Deserializer<'de>, 
[src]

Deserializes a value into self from the given Deserializer. Read more

impl Serialize for ProofShare[src]

Auto Trait Implementations

impl Send for ProofShare

impl Sync for ProofShare

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]