eclair-mobile icon indicating copy to clipboard operation
eclair-mobile copied to clipboard

Do not automatically close a channel in Eclair app when expired HTLC is present

Open akumaigorodski opened this issue 7 years ago • 0 comments

Eclair app is a special case of LN node in a sense that it never routes third party payments so in case when expired outgoing HTLC payments are present it may not close a channel automatically because an expired HTLC is guaranteed to be locally initiated, so there is no risk of waiting and losing money downstream.

Instead of closing a channel right away an app may show a warning and recommendation to contact a faulty peer owner to resolve this without closing a channel. The benefit of this approach is that it saves time and money and makes app behavior more predictable: currently, when sending each payment an expirienced user knows there is a risk of channel closing because of that payment getting stuck which is quite terrible UX wise.

akumaigorodski avatar Jul 07 '18 05:07 akumaigorodski