Drop ChannelMonitor
s for inbound, no-local-funding channels after they time out
#3384
Milestone
ChannelMonitor
s for inbound, no-local-funding channels after they time out
#3384
We continually have issues where users have channels that were never funded (the funding transaction never confirmed/was conflicted) and because we don't see the channel close, we never allow the
ChannelMonitor
s to be pruned, leaving aBalance::ClaimableOnChannelClose
lying around forever. Properly pruning these channels for channels where we contributed some funds (either because the channel was outbound-v1, we received somepush_msat
s for inbound-v1, or a dual-funded v2) takes tracking the inputs for the funding tx and actually detecting a conflict which makes funding lock-in impossible, but we could at least do the trivial case where we don't have any funds to recover and the channel has timed out so we FC'd it anyway.The text was updated successfully, but these errors were encountered: