Recovery of Lightning channels without backups



Summary:

In the Lightning Network, a synthetic static channel backup can be created to trigger the data loss protection protocol. By restoring this backup, a `channel_reestablish` is sent to the remote peer containing the `next_commitment_number` and `next_revocation_number` both set to zero, which forces the remote peer to force close the channel dropping its current commitment transaction to the chain. Using the `per_commitment_point` received from the remote peer, the private key needed for sweeping funds can be derived. The goal is to be able to securely restore layer 1 and 2 funds with just one's seed. There were concerns raised about the counter, discovery of public nodes, and encouraging channel recovery by asking the node to force close the channel. However, this method still provides a realistic chance of recovering a significant chunk of one's funds, particularly for unsophisticated users who are most likely to lose their channels with no backups. There is room for improvement in this process, particularly in finding the channels.


Updated on: 2023-06-03T03:20:49.729317+00:00