Struct lightning::ln::msgs::ChannelAnnouncement [−][src]
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 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Gets the length of this object after it has been serialized. This can be overridden to optimize cases where we prepend an object with its length. Read more
Writes self out to a Vec
Auto Trait Implementations
impl RefUnwindSafe for ChannelAnnouncement
impl Send for ChannelAnnouncement
impl Sync for ChannelAnnouncement
impl Unpin for ChannelAnnouncement
impl UnwindSafe for ChannelAnnouncement
Blanket Implementations
Mutably borrows from an owned value. Read more