Backup

From lightningwiki.net
Revision as of 16:17, 27 February 2019 by MiltonPusser (talk | contribs) (Removed redirect to Keys and backups)
Jump to navigation Jump to search
Error creating thumbnail: File missing
Alert! Be careful!
Reliable backups are being worked on at the moment

Making backups is not easy. You can backup your key, but to recover a disk failure (for example), you still need the channel state.

The problem is that if you announce an old channel state (after you recovered a backup), this is detected as Fraud and you might lose your funds.

Poor mans solution

Probably just take your wallet-file... See github for more info.

Hardware

If you’re putting a lot of money on your Lightning routing node, please use a reliable hard drives (with mirroring).

Data Loss Protection

Data loss protection

Channel information

LND

For now, just backup the whole ~/.lnd directory.

Error creating thumbnail: File missing
Side note:
There is work underway to make backup better in 6.0: https://github.com/lightningnetwork/lnd/pull/1364

Commitment revocation private key

Every commitment transaction has a unique commitment revocation private-key value that allows the other peer to spend all outputs immediately: revealing this key is how old commitment transactions are revoked. To support revocation, each output of the commitment transaction refers to the commitment revocation public key.