Skip to content

Expose whether a channel is closing in ChannelDetails #2304

Closed
@valentinewallace

Description

@valentinewallace

Currently, there's no definitive way to know that a channel has closed via ChannelDetails. !is_channel_ready && confirmations >= confirmations_required gets you close, but it's still possible that you've just been disconnected to the counterparty since before the channel's confirmation.

We might want to switch from is_channel_ready to an enum with the channel's current status. Or maybe we could add some kind of list_closed_channels util.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions