pub struct Opening {
pub value: u64,
pub blinding_factor: Tweak,
pub message: Box<[u8]>,
}Available on crate feature
std only.Expand description
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: u64The value that the prover originally committed to in the Pedersen commitment.
blinding_factor: TweakThe 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 Freeze for Opening
impl RefUnwindSafe for Opening
impl Send for Opening
impl Sync for Opening
impl Unpin for Opening
impl UnwindSafe for Opening
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more