Module channel_state
Expand description
Information about the state of a channel.
Structs§
- Channel
Counterparty - Channel parameters which apply to our counterparty. These are split out from
ChannelDetails
to better separate parameters. - Channel
Details - Details of a channel, as returned by
ChannelManager::list_channels
andChannelManager::list_usable_channels
- Counterparty
Forwarding Info - Information needed for constructing an invoice route hint for this channel.
- InboundHTLC
Details - Exposes details around pending inbound HTLCs.
- OutboundHTLC
Details - Exposes details around pending outbound HTLCs.
Enums§
- Channel
Shutdown State - Further information on the details of the channel shutdown.
Upon channels being forced closed (i.e. commitment transaction confirmation detected
by
ChainMonitor
), ChannelShutdownState will be set toShutdownComplete
or the channel will be removed shortly. Also note, that in normal operation, peers could disconnect at any of these states and require peer re-connection before making progress onto other states - InboundHTLC
State Details - Exposes the state of pending inbound HTLCs.
- OutboundHTLC
State Details - Exposes the state of pending outbound HTLCs.