Keys and backups

From lightningwiki.net
(Redirected from Keys)
Jump to: navigation, search

Your Lightning node or wallet will have keys. Look at Backup for instructions.

Bitcoin key (on-chain)[edit]

A wallet and lightning node usually hold bitcoins to open channels. If you backup this key you can get your on-chain balance back.

Making backups is not easy. Probably just take your wallet-file... See github for more info.

TODO

You can help by adding more information. Suggestion: Write how to do Bitcoin backups.

Channel information[edit]

LND[edit]

Tip for now, just backup the whole ~/.lnd directory.

TODO

You can help by adding more information. Suggestion: Write how to backup lnd.

There is work underway to make backup better in 6.0: https://github.com/lightningnetwork/lnd/pull/1364

Commitment revocation private key[edit]

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.