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

Get the channel pubkeys for the broadcaster

Get the channel pubkeys for the countersignatory

Get the contest delay applicable to the transactions. Note that the contest delay was selected by the countersignatory.

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.

The funding outpoint

Whether to use anchors for this channel

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.