Struct lightning::ln::msgs::ChannelAnnouncement
source · pub struct ChannelAnnouncement {
pub node_signature_1: Signature,
pub node_signature_2: Signature,
pub bitcoin_signature_1: Signature,
pub bitcoin_signature_2: Signature,
pub contents: UnsignedChannelAnnouncement,
}
Expand description
A channel_announcement
message to be sent to or received from a peer.
Fields§
§node_signature_1: Signature
Authentication of the announcement by the first public node
node_signature_2: Signature
Authentication of the announcement by the second public node
bitcoin_signature_1: Signature
Proof of funding UTXO ownership by the first public node
bitcoin_signature_2: Signature
Proof of funding UTXO ownership by the second public node
contents: UnsignedChannelAnnouncement
The actual announcement
Trait Implementations§
source§impl Clone for ChannelAnnouncement
impl Clone for ChannelAnnouncement
source§fn clone(&self) -> ChannelAnnouncement
fn clone(&self) -> ChannelAnnouncement
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 ChannelAnnouncement
impl Debug for ChannelAnnouncement
source§impl Hash for ChannelAnnouncement
impl Hash for ChannelAnnouncement
source§impl PartialEq for ChannelAnnouncement
impl PartialEq for ChannelAnnouncement
source§fn eq(&self, other: &ChannelAnnouncement) -> bool
fn eq(&self, other: &ChannelAnnouncement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Readable for ChannelAnnouncement
impl Readable for ChannelAnnouncement
source§impl Writeable for ChannelAnnouncement
impl Writeable for ChannelAnnouncement
impl Eq for ChannelAnnouncement
impl StructuralPartialEq for ChannelAnnouncement
Auto Trait Implementations§
impl Freeze for ChannelAnnouncement
impl RefUnwindSafe for ChannelAnnouncement
impl Send for ChannelAnnouncement
impl Sync for ChannelAnnouncement
impl Unpin for ChannelAnnouncement
impl UnwindSafe for ChannelAnnouncement
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