lnd icon indicating copy to clipboard operation
lnd copied to clipboard

[feature]: allow configuring upfront shutdown address in `lnd.conf`

Open yyforyongyu opened this issue 2 years ago • 4 comments

As of today, a funder can easily specify the upfront shutdown address via openchannel. A fundee, however, needs to set up a channel acceptor to specify a custom address. This can be cumbersome, especially in the case where a remote signer is used for a hot-cold wallet setup. We could instead config this shutdown address in lnd.conf,

  • [ ] add a new config value upfront-shutdown-address and use it when opening and accepting channels.
  • [ ] it can be overwritten by the value specified in openchannel and/or channel acceptor.

Going with this approach does decrease the level of privacy as all the funds now go to the same cold wallet address. A better approach is to stick to the current setup - always derive a new cold wallet address when opening or accepting a channel, however this is up to the user to decide.

yyforyongyu avatar Sep 07 '23 11:09 yyforyongyu

Going with this approach does decrease the level of privacy as all the funds now go to the same cold wallet address. A better approach is to stick to the current setup - always derive a new cold wallet address when opening or accepting a channel, however this is up to the user to decide.

As a middle way, could we provide an array of addresses that are cycled through? Are these addresses also used in force-closes?

blckbx avatar Sep 09 '23 07:09 blckbx

Can I jump on this?

theedtron avatar Apr 11 '24 07:04 theedtron

@theedtron, if you're currently not working on this, can I take this?

raehat avatar Apr 18 '24 16:04 raehat

@raehat still planning to work on it.

theedtron avatar Apr 19 '24 11:04 theedtron