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
@@ -142,6 +142,10 @@ static const struct feature_style feature_styles[] = {
|
||||
{ OPT_PROVIDE_PEER_BACKUP_STORAGE,
|
||||
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
|
||||
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT } },
|
||||
{ OPT_SPLICE,
|
||||
.copy_style = { [INIT_FEATURE] = FEATURE_REPRESENT,
|
||||
[NODE_ANNOUNCE_FEATURE] = FEATURE_REPRESENT,
|
||||
[CHANNEL_FEATURE] = FEATURE_DONT_REPRESENT} },
|
||||
};
|
||||
|
||||
struct dependency {
|
||||
@@ -467,7 +471,7 @@ const char *feature_name(const tal_t *ctx, size_t f)
|
||||
"option_trampoline_routing", /* https://github.com/lightning/bolts/pull/836 */
|
||||
NULL,
|
||||
NULL, /* 60/61 */
|
||||
NULL,
|
||||
"option_splice",
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
|
||||
Reference in New Issue
Block a user