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,
}
Expand description

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.