Module channel_state

Expand description

Information about the state of a channel.

Structs§

ChannelCounterparty
Channel parameters which apply to our counterparty. These are split out from ChannelDetails to better separate parameters.
ChannelDetails
Details of a channel, as returned by ChannelManager::list_channels and ChannelManager::list_usable_channels
CounterpartyForwardingInfo
Information needed for constructing an invoice route hint for this channel.
InboundHTLCDetails
Exposes details around pending inbound HTLCs.
OutboundHTLCDetails
Exposes details around pending outbound HTLCs.

Enums§

ChannelShutdownState
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 to ShutdownComplete 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
InboundHTLCStateDetails
Exposes the state of pending inbound HTLCs.
OutboundHTLCStateDetails
Exposes the state of pending outbound HTLCs.