Struct lightning::ln::msgs::AnnouncementSignatures
source · pub struct AnnouncementSignatures {
pub channel_id: [u8; 32],
pub short_channel_id: u64,
pub node_signature: Signature,
pub bitcoin_signature: Signature,
}
Expand description
An announcement_signatures
message to be sent to or received from a peer.
Fields§
§channel_id: [u8; 32]
The channel ID
short_channel_id: u64
The short channel ID
node_signature: Signature
A signature by the node key
bitcoin_signature: Signature
A signature by the funding key
Trait Implementations§
source§impl Clone for AnnouncementSignatures
impl Clone for AnnouncementSignatures
source§fn clone(&self) -> AnnouncementSignatures
fn clone(&self) -> AnnouncementSignatures
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 AnnouncementSignatures
impl Debug for AnnouncementSignatures
source§impl PartialEq<AnnouncementSignatures> for AnnouncementSignatures
impl PartialEq<AnnouncementSignatures> for AnnouncementSignatures
source§fn eq(&self, other: &AnnouncementSignatures) -> bool
fn eq(&self, other: &AnnouncementSignatures) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.