Difference between revisions of "Keys"

From lightningwiki.net
Jump to navigation Jump to search
Line 1: Line 1:
{{TODO|Write more about the keys, key types, how/why to back them up}}
{{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.
= Bitcoin key (on-chain) =
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.


= Commitment revocation private key =
= 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.
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.

Revision as of 11:05, 17 January 2019

Template:TODO

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.

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.