How to Choose Where Your Channel Closing Funds LandStandard closing
Most Lightning operators close a channel the same way. You runclosechannel, wait for the transaction to confirm, and your share lands in a fresh address of your own node wallet. If the money was meant for somewhere else, you then send it again. That second transaction costs an on chain fee, and it adds one more step where a mistake can happen.
There is a shorter path. In a cooperative close, you decide which address receives your share, and it does not have to belong to the node you are closing from.What LND does by default
In a cooperative close, each side declares the address where it wants its own balance paid out. Both declarations end up in the same closing transaction, with one output per party.
If you say nothing, LND derives a new address from its internal wallet and uses that. This is sensible, because the funds end up in a wallet the node controls and can spend right away. It is also the reason so many people close to their own node and then forward the coins by hand.
...read more at massmux.org
pull down to refresh
related posts
This has been possible in Phoenix wallet for some time. Hopefully we'll see it as the standard.
Clean post. Custom close output saves a hop and fee.
Mind
Blown
On one level, duh, I should have realized this was possible. On another level, I lacked the creativity to imagine it.
Very very good to know! Thanks for sharing.