Skip to content

Commit dadedd3

Browse files
committed
fixup! splice: Remove experiemental splicing feature
1 parent 49a27e7 commit dadedd3

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

doc/developers-guide/deprecated-features.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ privacy:
2323
| newaddr.addresstype.defaultbech32 | Parameter | v25.12 | v26.12 | Use `p2tr` in the response (present since v23.08 if `addresstype` is `p2tr`, and always present since v24.12). |
2424
| channel_state_changed.null_message | Notification Field | v25.12 | v26.12 | In channel_state_changed notification, `message` will be missing instead of `null` |
2525
| hsmtool.getcodexsecret | Command | v25.12.1 | v26.12 | Doesn't work on nodes using mnemonic secrets (v25.12 or later). Use `getsecret` instead. |
26+
| experimental_splicing | Config | v26.04 | v27.04 | Splicing is now enabled by default |
2627
Inevitably there are features which need to change: either to be generalized, or removed when they can no longer be supported.
2728

2829
Types of deprecation:

lightningd/options.c

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,6 +1250,20 @@ static char *opt_set_dual_fund(struct lightningd *ld)
12501250
return NULL;
12511251
}
12521252

1253+
static char *opt_set_splicing(struct lightningd *ld)
1254+
{
1255+
/* Show deprecation warning */
1256+
if (!opt_deprecated_ok(ld, "experimental_splicing", NULL,
1257+
"v26.04", "v27.04"))
1258+
return "--experimental-splicing is now enabled by default"
1259+
" enabled by default";
1260+
1261+
feature_set_or(ld->our_features,
1262+
take(feature_set_for_feature(NULL,
1263+
OPTIONAL_FEATURE(OPT_SPLICE))));
1264+
return NULL;
1265+
}
1266+
12531267
static char *opt_set_shutdown_wrong_funding(struct lightningd *ld)
12541268
{
12551269
feature_set_or(ld->our_features,
@@ -1478,6 +1492,13 @@ static void register_opts(struct lightningd *ld)
14781492
" and allow peers to establish channels"
14791493
" via v2 channel open protocol.");
14801494

1495+
/* Deprecated: splicing is on by default now */
1496+
opt_register_early_noarg("--experimental-splicing",
1497+
opt_set_splicing, ld,
1498+
"experimental: Enables the ability to resize"
1499+
" channels using splicing");
1500+
1501+
14811502
/* This affects our features, so set early. */
14821503
opt_register_early_noarg("--experimental-shutdown-wrong-funding",
14831504
opt_set_shutdown_wrong_funding, ld,

0 commit comments

Comments
 (0)