mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
channeld: Code to implement splicing
Update the lightningd <-> channeld interface with lots of new commands to needed to facilitate spicing. Implement the channeld splicing protocol leveraging the interactivetx protocol. Implement lightningd’s channel_control to support channeld in its splicing efforts. Changelog-Added: Added the features to enable splicing & resizing of active channels.
This commit is contained in:
committed by
Rusty Russell
parent
ebd0a3fd69
commit
4628e3ace8
@@ -1186,7 +1186,9 @@ wallet_update_channel(struct lightningd *ld,
|
||||
channel->lease_chan_max_ppt,
|
||||
lease_blockheight_start,
|
||||
channel->push,
|
||||
lease_amt);
|
||||
lease_amt,
|
||||
0,
|
||||
false);
|
||||
wallet_inflight_add(ld->wallet, inflight);
|
||||
|
||||
return inflight;
|
||||
@@ -1338,7 +1340,9 @@ wallet_commit_channel(struct lightningd *ld,
|
||||
channel->lease_chan_max_ppt,
|
||||
lease_blockheight_start,
|
||||
channel->push,
|
||||
lease_amt);
|
||||
lease_amt,
|
||||
0,
|
||||
false);
|
||||
wallet_inflight_add(ld->wallet, inflight);
|
||||
|
||||
/* We might have disconnected and decided we didn't need to
|
||||
|
||||
Reference in New Issue
Block a user