Struct secp256k1_zkp::Opening[][src]

pub struct Opening {
    pub value: u64,
    pub blinding_factor: Tweak,
    pub message: Box<[u8]>,
}

The result of rewinding a range proof.

Rewinding a range proof reveals (“opens”) the stored information and allows us to access information the prover embedded in the proof.

Fields

value: u64

The value that the prover originally committed to in the Pedersen commitment.

blinding_factor: Tweak

The blinding factor that was used to create the Pedersen commitment of above value.

message: Box<[u8]>

The message that was embedded by the prover.

Auto Trait Implementations

impl RefUnwindSafe for Opening

impl Send for Opening

impl Sync for Opening

impl Unpin for Opening

impl UnwindSafe for Opening

Blanket Implementations

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

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

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

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

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.