[][src]Struct secp256k1zkp::pedersen::ProofInfo

pub struct ProofInfo {
    pub success: bool,
    pub value: u64,
    pub blinding: SecretKey,
    pub message: ProofMessage,
    pub mlen: usize,
    pub min: u64,
    pub max: u64,
    pub exp: i32,
    pub mantissa: i32,
}

Information about a valid proof after rewinding it.

Fields

success: bool

Whether the proof is valid or not

value: u64

Value that was used by the commitment

blinding: SecretKey

Blinding factor that was used (Bulletproofs)

message: ProofMessage

Message embedded in the proof

mlen: usize

Length of the embedded message (message is "padded" with garbage to fixed number of bytes)

min: u64

Min value that was proven

max: u64

Max value that was proven

exp: i32

Exponent used by the proof

mantissa: i32

Mantissa used by the proof

Trait Implementations

impl Debug for ProofInfo[src]

Auto Trait Implementations

impl Send for ProofInfo

impl Sync for ProofInfo

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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