pub struct LightningReceiveChallenge(/* private fields */);Expand description
Challenge for proving ownership of a VTXO when claiming a Lightning receive.
This challenge combines a payment hash with the input VTXO ID to create a unique signature proving the user controls the input VTXO and is authorised as a mitigation against liquidity denial-of-service attacks.
Implementations§
Trait Implementations§
Source§impl Clone for LightningReceiveChallenge
impl Clone for LightningReceiveChallenge
Source§fn clone(&self) -> LightningReceiveChallenge
fn clone(&self) -> LightningReceiveChallenge
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Hash for LightningReceiveChallenge
impl Hash for LightningReceiveChallenge
Source§impl Ord for LightningReceiveChallenge
impl Ord for LightningReceiveChallenge
Source§fn cmp(&self, other: &LightningReceiveChallenge) -> Ordering
fn cmp(&self, other: &LightningReceiveChallenge) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for LightningReceiveChallenge
impl PartialOrd for LightningReceiveChallenge
impl Copy for LightningReceiveChallenge
impl Eq for LightningReceiveChallenge
impl StructuralPartialEq for LightningReceiveChallenge
Auto Trait Implementations§
impl Freeze for LightningReceiveChallenge
impl RefUnwindSafe for LightningReceiveChallenge
impl Send for LightningReceiveChallenge
impl Sync for LightningReceiveChallenge
impl Unpin for LightningReceiveChallenge
impl UnwindSafe for LightningReceiveChallenge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.