-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Feature request] Open (close) multiple channels with one on-chain transaction #3772
Comments
I have a branch locally that does this for opening multiple channels in a single transaction. Once #3659 lands, it has the functionality needed to work properly. It isn't possible to co-op close multiple channels in a single transaction in the current protocol. |
To outline things a bit further, there're two main areas which are prime targets for integrating things within lnd:
A rough outline of the new abstraction to implement this feature might look something along the lines of:
So first the caller creates a set of normal intents, which is then merged into a single intent (and single transaction) by the wallet. This can eventually also have some interplay with #3936, but we'll leave that for another chapter in the future. |
Implemented in #5356. |
Background
As in here:
ElementsProject/lightning#1936
The text was updated successfully, but these errors were encountered: