Difference between revisions of "Keys"

From lightningwiki.net
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TODO|Write more about the keys, key types, how/why to back them up}}
Your Lightning node or wallet will have keys. Look at [[Backup]] for instructions.


= Commitment revocation private key =
= Bitcoin key (on-chain) =
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.
A [[Wallet|wallet]] and [[Node|lightning node]] usually hold bitcoins to open channels. If you backup this key you can get your on-chain balance back.
 
{{ALERT|The mnemonic seed is NOT enough to recover funds from channels if something goes horribly wrong, you’ll need the latest chan state.}}
 
= Seed =
The seed is the basis for your key. Using the seed you can recover your key.
 
= Backup =
[[Backup]]

Latest revision as of 16:20, 27 February 2019

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

Bitcoin key (on-chain)

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

Error creating thumbnail: File missing
Alert! Be careful!
The mnemonic seed is NOT enough to recover funds from channels if something goes horribly wrong, you’ll need the latest chan state.

Seed

The seed is the basis for your key. Using the seed you can recover your key.

Backup

Backup