Module channel

Source
Expand description

Channel

Structs§

Channel
After Node::setup_channel
ChannelBalance
Balances associated with a channel See: https://gitlab.com/lightning-signer/docs/-/wikis/Proposed-L1-and-Channel-Balance-Reconciliation
ChannelId
Channel identifier
ChannelSetup
The negotiated parameters for the Channel
ChannelStub
A channel takes this form after Node::new_channel, and before Node::setup_channel
SlotInfo
Per-channel-slot summary information for system monitoring
TypedSignature
Bitcoin Signature which specifies EcdsaSighashType

Enums§

ChannelSlot
A channel can be in two states - before Node::setup_channel it’s a ChannelStub, afterwards it’s a Channel. This enum keeps track of the two different states.
CommitmentType
The commitment type, based on the negotiated option
SlotInfoVariant
Channel slot information for stubs and channels.

Traits§

ChannelBase
A trait implemented by both channel states. See ChannelSlot