Struct lightning::ln::channel_keys::DelayedPaymentBasepoint
source · pub struct DelayedPaymentBasepoint(pub PublicKey);
Expand description
Master key used in conjunction with per_commitment_point to generate local_delayedpubkey
for the latest state of a channel.
A watcher can be given a DelayedPaymentBasepoint to generate per commitment DelayedPaymentKey to create justice transactions.
Tuple Fields§
§0: PublicKey
Implementations§
source§impl DelayedPaymentBasepoint
impl DelayedPaymentBasepoint
sourcepub fn to_public_key(&self) -> PublicKey
pub fn to_public_key(&self) -> PublicKey
Get inner Public Key
Trait Implementations§
source§impl Clone for DelayedPaymentBasepoint
impl Clone for DelayedPaymentBasepoint
source§fn clone(&self) -> DelayedPaymentBasepoint
fn clone(&self) -> DelayedPaymentBasepoint
Returns a copy 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 Debug for DelayedPaymentBasepoint
impl Debug for DelayedPaymentBasepoint
source§impl From<PublicKey> for DelayedPaymentBasepoint
impl From<PublicKey> for DelayedPaymentBasepoint
source§impl Hash for DelayedPaymentBasepoint
impl Hash for DelayedPaymentBasepoint
source§impl PartialEq for DelayedPaymentBasepoint
impl PartialEq for DelayedPaymentBasepoint
source§fn eq(&self, other: &DelayedPaymentBasepoint) -> bool
fn eq(&self, other: &DelayedPaymentBasepoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Readable for DelayedPaymentBasepoint
impl Readable for DelayedPaymentBasepoint
source§impl Writeable for DelayedPaymentBasepoint
impl Writeable for DelayedPaymentBasepoint
impl Copy for DelayedPaymentBasepoint
impl Eq for DelayedPaymentBasepoint
impl StructuralEq for DelayedPaymentBasepoint
impl StructuralPartialEq for DelayedPaymentBasepoint
Auto Trait Implementations§
impl RefUnwindSafe for DelayedPaymentBasepoint
impl Send for DelayedPaymentBasepoint
impl Sync for DelayedPaymentBasepoint
impl Unpin for DelayedPaymentBasepoint
impl UnwindSafe for DelayedPaymentBasepoint
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