mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-12 23:28:31 +01:00
In this commit, we remove references to raw keys from the main ChannelConfig struct and instead replace it with usage of keychain.KeyDescriptor. We do this, as the ChannelConfig as it stands is a near complete static description of a channel. In the future, it will be possible to export these static descriptions as backups. We prefer the KeyDescriptor of a plain PublicKey, as the KeyLocator portion of the struct allows a stateless signer to re-derive the keys as needed when signing.
7.2 KiB
7.2 KiB