pub struct Opening {
pub amount: u64,
pub blinding_factor: Scalar,
pub commitment: EdwardsPoint,
}
Expand description
The result of opening the commitment inside the transaction.
Fields
amount: u64
The original amount of the output.
blinding_factor: Scalar
The blinding factor used to blind the amount.
commitment: EdwardsPoint
The commitment used to verify the blinded amount.
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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