You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the matrix of supported wallet "types" is more complex than what the commit message suggests.
roughly the following wallets can have lightning enabled on 4.5.x (all with p2wpkh addresses):
(1) electrum seeds, wallet created post-4.1, so lightning_xprv is deterministic
(2) electrum seeds, wallet created pre-4.1, so lightning_xprv is non-deterministic
(3) software bip39 seeds or raw zprvs. lightning_xprv is non-deterministic
(4) watch-only/hw keystores. lightning_xprv is non-deterministic
notably the commit prevents enabling LN for type-3, but does not make any mention of this in the commit message.
the motivation for the commit is probably to prevent opening anchor channels with type-4 wallets as those wallets cannot have hot privkeys for onchain UTXOs in RAM (which is needed to be able to do automatic actions sometimes needed for anchor channels, such as bringing our own UTXOs as inputs for HTLC txs)
(which would have been nice to say in the commit message :P)
there is also the concern of how to handle existing wallet files with LN already enabled, which this commit does not address.
we might want to prevent opening anchor channels in some cases
in particular, probably at least for type-4?
The text was updated successfully, but these errors were encountered:
from comment ac1c9f0#commitcomment-151252517
The text was updated successfully, but these errors were encountered: