Struct lightning::ln::msgs::UnsignedChannelAnnouncement [−][src]
pub struct UnsignedChannelAnnouncement { pub features: ChannelFeatures, pub chain_hash: BlockHash, pub short_channel_id: u64, pub node_id_1: PublicKey, pub node_id_2: PublicKey, pub bitcoin_key_1: PublicKey, pub bitcoin_key_2: PublicKey, // some fields omitted }
Expand description
The unsigned part of a channel_announcement
Fields
features: ChannelFeatures
The advertised channel features
chain_hash: BlockHash
The genesis hash of the blockchain where the channel is to be opened
short_channel_id: u64
The short channel ID
node_id_1: PublicKey
One of the two node_ids which are endpoints of this channel
node_id_2: PublicKey
The other of the two node_ids which are endpoints of this channel
bitcoin_key_1: PublicKey
The funding key for the first node
bitcoin_key_2: PublicKey
The funding key for the second node
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Writes self out to a Vec
Writes self out to a Vec
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
Auto Trait Implementations
impl RefUnwindSafe for UnsignedChannelAnnouncement
impl Send for UnsignedChannelAnnouncement
impl Sync for UnsignedChannelAnnouncement
impl Unpin for UnsignedChannelAnnouncement
impl UnwindSafe for UnsignedChannelAnnouncement
Blanket Implementations
Mutably borrows from an owned value. Read more