lightningnetwork / lnd

Lightning Network Daemon ⚡️
MIT License
7.63k stars 2.07k forks source link

[feature / already built in?]: Splicing #8245

Open eliaspfeffer opened 9 months ago

eliaspfeffer commented 9 months ago

Is splicing already possible in LND? Have only heard of CLN, LDK and Eclair which have it built in but don't know if they also have what I need for my service (lockable wallet - on LND via encrypted macaroons).

If LND already has splicing, please elaborate the command for it, as I didn't find one via lncli help If not, then please see this as a feature request:

Problem: Upgrading channel volume is expensive (close the channel, reopen another channel with higher volume = 2 x an on-chain fee).

Feature: enable splicing. (Keep channel open, make one deposit from node on-chain wallet to the channels multi-signature wallet) = 1 x an on-chain fee).

Alternatives: Make multi-signature wallet transaction to a new multi-signature wallet (100% of the channel-size to avoid one output-channel channel for change, include the additional Bitcoin amount as second input = 2 inputs, one output on-chain. Keep Lightning Channel via this new multi-sig wallet.)

saubyk commented 9 months ago

Hi @eliaspfeffer Splicing is not available on LND right now. Although it's an item on the 2024 roadmap 🤞 🧭

1ma commented 7 months ago

If my node (CLN) supports splicing but my peer runs LND can I splice-in our channel, or do we need both nodes to support splicing?

saubyk commented 7 months ago

If my node (CLN) supports splicing but my peer runs LND can I splice-in our channel, or do we need both nodes to support splicing?

Both channel peers need to support splicing for it to work