Struct secp256k1zkp::pedersen::ProofInfo
source · 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
Auto Trait Implementations
impl RefUnwindSafe for ProofInfo
impl Send for ProofInfo
impl Sync for ProofInfo
impl Unpin for ProofInfo
impl UnwindSafe for ProofInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more