lightningdevkit / rust-lightning

A highly modular Bitcoin Lightning library written in Rust. It's rust-lightning, not Rusty's Lightning!
Other
1.16k stars 367 forks source link

Basic Splicing #3298

Open optout21 opened 2 months ago

optout21 commented 2 months ago

Basic implementation of channel splicing, with limitations (tracking: #1621). Support channel splicing between two LDK instances, increasing channel capacity by adding some UTXOs, resulting in a usable channel. Includes support for following messages: splice_init, splice_ack, tx_add_input, tx_add_output, tx_complete, tx_signatures, splice_locked.

The following limitations are acceptable, and handled later (it's always fine to include more right away):

Some prerequisites:

3137

2302

3294

3295