[][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.


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


impl ProofShare[src]

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

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

Trait Implementations

impl Clone for ProofShare[src]

impl Debug for ProofShare[src]

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

impl Serialize for ProofShare[src]

Auto Trait Implementations

impl RefUnwindSafe for ProofShare

impl Send for ProofShare

impl Sync for ProofShare

impl Unpin for ProofShare

impl UnwindSafe for ProofShare

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.