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
sourceimpl Clone for ChannelAnnouncement
impl Clone for ChannelAnnouncement
sourcefn clone(&self) -> ChannelAnnouncement
fn clone(&self) -> ChannelAnnouncement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChannelAnnouncement
impl Debug for ChannelAnnouncement
sourceimpl PartialEq<ChannelAnnouncement> for ChannelAnnouncement
impl PartialEq<ChannelAnnouncement> for ChannelAnnouncement
sourcefn 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 ==
. Read more
sourceimpl Readable for ChannelAnnouncement
impl Readable for ChannelAnnouncement
sourceimpl Writeable for ChannelAnnouncement
impl Writeable for ChannelAnnouncement
sourcefn serialized_length(&self) -> usize
fn serialized_length(&self) -> usize
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
impl StructuralPartialEq for ChannelAnnouncement
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more