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
backup.go
backupfile_test.go
backupfile.go
crypto_test.go
crypto.go
log.go
multi_test.go
multi.go
pubsub_test.go
pubsub.go
recover_test.go
recover.go
single_test.go
single.go multi: store KeyLocator in OpenChannel, use ECDH 2021-03-05 12:49:18 -05:00