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