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

[request] prompt before closing channels on partial recovery

Open brianddk opened this issue 6 years ago • 2 comments

When performing an account recovery in v0.4.6, will immediately close open channels without a valid channel backup. Although this behavior is understandable, it would be preferable to give the user an option to defer or opt-out of this behavior.

Alternatively, Eclair could choose to allow users to do an offline-recovery. Either of these two options would have met my particular needs.

brianddk avatar Jun 18 '19 16:06 brianddk

I'm not sure what you mean by this. In LN recovering a channel implies closing the channel.

pm47 avatar Jun 20 '19 12:06 pm47

@pm47 Thx, didn't get my terminology straight. What I'm interested in would be the following. Not sure if it is possible in the protocol.

  • In recovery if it is determined that channels were open to this wallet, try the following:
    • Attempt to keep channels open using backed up channel state.
    • If channels can not be kept open notify user that a channel closure is about to occur to recover funds.
    • Allow user to pause the recovery and re-attempt later if channel state data was simply inaccessible due to service outages.

brianddk avatar Jun 27 '19 23:06 brianddk