pub struct DirectedChannelTransactionParameters<'a> { /* private fields */ }Expand description
Static channel fields used to build transactions given per-commitment fields, organized by broadcaster/countersignatory.
This is derived from the holder/counterparty-organized ChannelTransactionParameters via the as_holder_broadcastable and as_counterparty_broadcastable functions.
Implementations§
Source§impl<'a> DirectedChannelTransactionParameters<'a>
impl<'a> DirectedChannelTransactionParameters<'a>
Sourcepub fn broadcaster_pubkeys(&self) -> &'a ChannelPublicKeys
pub fn broadcaster_pubkeys(&self) -> &'a ChannelPublicKeys
Get the channel pubkeys for the broadcaster
Sourcepub fn countersignatory_pubkeys(&self) -> &'a ChannelPublicKeys
pub fn countersignatory_pubkeys(&self) -> &'a ChannelPublicKeys
Get the channel pubkeys for the countersignatory
Sourcepub fn contest_delay(&self) -> u16
pub fn contest_delay(&self) -> u16
Get the contest delay applicable to the transactions. Note that the contest delay was selected by the countersignatory.
Sourcepub fn is_outbound(&self) -> bool
pub fn is_outbound(&self) -> bool
Whether the channel is outbound from the broadcaster.
The boolean representing the side that initiated the channel is an input to the commitment number obscure factor computation.
Sourcepub fn funding_outpoint(&self) -> OutPoint
pub fn funding_outpoint(&self) -> OutPoint
The funding outpoint
Sourcepub fn channel_type_features(&self) -> &'a ChannelTypeFeatures
pub fn channel_type_features(&self) -> &'a ChannelTypeFeatures
The type of channel these parameters are for
Sourcepub fn channel_value_satoshis(&self) -> u64
pub fn channel_value_satoshis(&self) -> u64
The value locked in the channel, denominated in satoshis.