Skip to content

Implement a recovery plugin #6544

Description

@rustyrussell

We have:

  • --recover
  • Peer backup
  • --offline
  • emergency.recover
  • rescan (for finding our funds)

We should implement a "recovery" plugin which handles:

  • Detecting that we need recovery: when a peer sends a reestablish which is IN THE FUTURE, we currenrtly log a message and mark the channel not to go onchain. We should instead, begin a recover process.
  • Trying to recover from various sources.

Stretch goals:

  • Enhance peer backup to contain more information
  • Mutual close for channels
  • Scan for funds
  • Continue channels for a while if we can / user chooses?
  • Ability to do peer backup for random nodes in return for sats
  • Ability for recovery plugin to use that to pay for peer backup / try it for restoration

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions