mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-25 15:09:53 +01:00
* Derive channel keys from funding pubkey We now generate a random funding key for each new channel, and use its public key to deterministically derive all channel keys and secrets. This will let us easily recover funds using DLP even if we've lost everything but our seed: we just need to connect to the node we had a channel with, ask them to publish their commit tx, and once we see it on the blockchain we can extract our funding pubkey, recompute channel keys and spend our output. * Add rationale for new channel derivation scheme * Add a "funding pubkey path" option to the channel version field This option is checked when we need to compute channel keys. For old channels it won't be set, and we always set it for new ones. * ChannelVersion: make sure that all bits are set to 0 for legacy channels * ChannelVersion: USE_PUBKEY_KEYPATH is set by default * Move recovery test out of OfflineStateSpec |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |