Closed
Description
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.