Module lightning_signer::channel
source · Expand description
Channel
Structs§
- After Node::setup_channel
- Balances associated with a channel See: https://gitlab.com/lightning-signer/docs/-/wikis/Proposed-L1-and-Channel-Balance-Reconciliation
- Channel identifier
- The negotiated parameters for the Channel
- A channel takes this form after Node::new_channel, and before Node::setup_channel
- Bitcoin Signature which specifies EcdsaSighashType
Enums§
- 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.
- The commitment type, based on the negotiated option
Traits§
- A trait implemented by both channel states. See ChannelSlot