[][src]Struct lightning::ln::msgs::ChannelAnnouncement

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,
}

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

impl Clone for ChannelAnnouncement[src]

impl Debug for ChannelAnnouncement[src]

impl PartialEq<ChannelAnnouncement> for ChannelAnnouncement[src]

impl Readable for ChannelAnnouncement[src]

impl StructuralPartialEq for ChannelAnnouncement[src]

impl Writeable for ChannelAnnouncement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.