lnd.xprv/chanbackup
eugene bb84f0ebc8
multi: store KeyLocator in OpenChannel, use ECDH
This commit adds a RevocationKeyLocator field to the OpenChannel
struct so that the SCB derivation doesn't have to brute-force the
sha chain root key and match the public key. ECDH derivation is now
used to derive the key instead of regular private key derivation a
la DerivePrivKey. The legacy can still be used to recover old
channels.
2021-03-05 12:49:18 -05:00
..
backup_test.go chanbackup: add functionality to allow external callers to backup channels 2019-01-23 18:11:28 -08:00
backup.go chanbackup: add SCB support for new anchor commitments 2020-03-16 17:07:03 -07:00
backupfile_test.go chanbackup: add new MultiFile struct for storing+updating Multis on disk 2019-01-23 18:11:31 -08:00
backupfile.go chanbackup: always close SCB file after reading 2020-07-10 16:20:32 -07:00
crypto_test.go chanbackup: implement crypto operations for serialized static channel baackups 2019-01-23 18:11:21 -08:00
crypto.go chanbackup: implement crypto operations for serialized static channel baackups 2019-01-23 18:11:21 -08:00
log.go chanbackup: add logger 2019-01-23 18:11:25 -08:00
multi_test.go chanbackup: introduce Multi, a multi-channel backup 2019-01-23 18:11:27 -08:00
multi.go chanbackup: add new NilMultiSizePacked constant 2019-03-28 17:53:37 -07:00
pubsub_test.go chanbackup: refuse to start the SubSwapper if we can't read the SCB file 2020-06-17 17:44:57 -07:00
pubsub.go chanbackup: refuse to start the SubSwapper if we can't read the SCB file 2020-06-17 17:44:57 -07:00
recover_test.go chanbackup: add functions to allow recovery of existing channel backups 2019-01-23 18:11:29 -08:00
recover.go chanbackup: continue recovery if channel already exists 2019-11-18 10:51:23 +01:00
single_test.go chanbackup: add SCB support for new anchor commitments 2020-03-16 17:07:03 -07:00
single.go multi: store KeyLocator in OpenChannel, use ECDH 2021-03-05 12:49:18 -05:00