decred / dcrlnd

Decred Lightning Network Daemon ⚡️
MIT License
36 stars 24 forks source link

Nodelay keyfam wallet #44

Closed matheusd closed 4 years ago

matheusd commented 4 years ago

This switches the remote dcrwallet driver to use the internal branch of the ln account to derive keys for the payment base key family.

This, coupled with the tweakless mode for remote payment addresses recently introduced means the wallet is able to redeem funds after execution of the DLP protocol without requiring extra data.

This also changes the key derivation to call the wallet's own NextAddress function, such that multisig and payment base keys are derived directly on it and respect the standard gap limit policy so that onchain fund recovery is more consistent.