raiden
raiden copied to clipboard
[Feature request] Safe channel backup mechanism
Abstract
A major failure, or accidental deletion of the local database, may result in the irretrievable loss of off-chain funds. The method of making (even frequent) backups of the local database is risky, because the state of the channels may not be up to date. The last backup may have an older channel state (even slightly) than the actual one. This could unintentionally trigger the penalty mechanism (breach remedy transaction) and result in the loss of funds.
Motivation
The solution would be to provide a safe backup mechanism, similar to lnd's Static Channel Backups (SCB) on Lightning Network.
@hermesesus That's a nice idea :)
The description of the of SCB as a reference: https://wiki.ion.radar.tech/tutorials/troubleshooting/static-channel-backups