Global Feed Post Login
Replying to Avatar waxwing

Do LN implementations make it a priority in their coin selection code, to open channels without change outputs? I guess not, but I was just thinking that channel opens are a unique opportunity for consolidation, because you usually don't care about exact amounts. While you can say, reasonably, "nah, we'd prefer to have the channel open pattern the same as the payment pattern for privacy/anon set", the economics of utxos is going to be vitally important long term, plus removing change from a payment breaks some heuristics. Even more interesting ofc is if you could negotation a 2x no-change coinjoined channel open.

#lightning

Avatar
daywalker 11mo ago

Yes, in CLN you can use the keyword "all" for one of the amounts.

Reply to this note

Please Login to reply.

Discussion

Avatar
waxwing 11mo ago

Great to hear it's possible. Can they select individual utxos?

Avatar
daywalker 11mo ago

Yes, both `fundchannel` and `multifundchannel` have a `utxos` argument.

Thread collapsed
Thread collapsed