[−][src]Struct bulletproofs::range_proof::messages::ProofShare
A party's proof share, ready for aggregation into the final
RangeProof
.
Fields
t_x: Scalar
t_x_blinding: Scalar
e_blinding: Scalar
l_vec: Vec<Scalar>
r_vec: Vec<Scalar>
Methods
impl ProofShare
[src]
pub(super) fn check_size(
&self,
expected_n: usize,
bp_gens: &BulletproofGens,
j: usize
) -> Result<(), ()>
[src]
&self,
expected_n: usize,
bp_gens: &BulletproofGens,
j: usize
) -> Result<(), ()>
Checks consistency of all sizes in the proof share and returns the size of the l/r vector.
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]
&self,
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]
fn clone(&self) -> ProofShare
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ProofShare
[src]
impl<'de> Deserialize<'de> for ProofShare
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut Self
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
deserializer: D,
place: &mut Self
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
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,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,