-
Notifications
You must be signed in to change notification settings - Fork 2.2k
multi: add upfront-shutdown-address to lnd.conf. #9432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
multi: add upfront-shutdown-address to lnd.conf. #9432
Conversation
Important Review skippedAuto reviews are limited to specific labels. 🏷️ Labels to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
PTAL @yyforyongyu |
0411618
to
e0e5d26
Compare
Hey @yyforyongyu, could you take a look at this PR and share any comments if you have any? Thanks! |
@NishantBansal2003 do you mind rebasing and fixing the conflicts?. I want to take a look. |
sure, working on it now... |
Introduced a new config value `upfront-shutdown-address` in the `lnd.conf` file. This ensures that channel close funds are transferred to the specified shutdown address. The value applies to both the funder and the fundee but can be overridden by the value specified during `openchannel` or by the `channel acceptor`. Signed-off-by: Nishant Bansal <[email protected]>
Signed-off-by: Nishant Bansal <[email protected]>
e0e5d26
to
69f1f79
Compare
I rebased this. I want to add that this was a relatively old PR at the time, and I was a beginner with LND and the Lightning Network as a whole (I still am ;)). Please let me know if there are any loose ends that need to be addressed, and if additional unit tests or itests could be added. |
Signed-off-by: Nishant Bansal <[email protected]>
69f1f79
to
a4a00e7
Compare
Change Description
This PR introduces a new configuration option,
upfront-shutdown-address
, in thelnd.conf
file.fixes: #7964
lnd.conf
to specify an upfront shutdown address.Steps to Test
Integration tests are provided to validate this new functionality.
Pull Request Checklist
Testing
Code Style and Documentation
[skip ci]
in the commit message for small changes.📝 Please see our Contribution Guidelines for further guidance.