lightningd: remove experimental-anchors / experimental-onion-messages.

Changelog-Removed: Config: `experimental-anchors` and `experimental-onion-messages` (deprecated 24.02 / 24.08, disabled v25.05).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2025-06-24 10:02:39 +09:30
parent 50e4aabe18
commit 46fb007ea0
2 changed files with 0 additions and 24 deletions

View File

@@ -8,8 +8,6 @@ hidden: false
| Name | Type | First Deprecated | Last Supported | Description |
|--------------------------------------|--------------------|------------------|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| listpeers.features.option_anchors_zero_fee_htlc_tx | Field | v24.08 | v25.09 | Renamed to `option_anchors` in the spec: check for that in `features` instead |
| experimental-anchors | Config | v24.02 | v25.02 | Now the default |
| experimental-onion-messages | Config | v24.08 | v25.02 | Now the default |
| decode.blinding | Field | v24.11 | v25.05 | Renamed to `first_path_key` in BOLT 4 (available in `decode` from v24.11) |
| onion_message_recv.blinding | Hook Field | v24.11 | v25.05 | Renamed to `first_path_key` in BOLT 4 (available in hook from v24.11) |
| decodepay | Command | v24.11 | v25.12 | Use `decode` which is more powerful (since v23.05) |

View File

@@ -1233,14 +1233,6 @@ static char *opt_set_splicing(struct lightningd *ld)
return NULL;
}
static char *opt_set_onion_messages(struct lightningd *ld)
{
if (!opt_deprecated_ok(ld, "experimental-onion-messages", NULL,
"v24.08", "v25.02"))
return "--experimental-onion-message is now enabled by default";
return NULL;
}
static char *opt_set_shutdown_wrong_funding(struct lightningd *ld)
{
feature_set_or(ld->our_features,
@@ -1265,14 +1257,6 @@ static char *opt_set_quiesce(struct lightningd *ld)
return NULL;
}
static char *opt_set_anchor_zero_fee_htlc_tx(struct lightningd *ld)
{
if (!opt_deprecated_ok(ld, "experimental-anchors", NULL,
"v24.02", "v25.02"))
return "--experimental-anchors is now enabled by default";
return NULL;
}
static char *opt_set_offers(struct lightningd *ld)
{
if (!opt_deprecated_ok(ld, "experimental-offers", NULL,
@@ -1452,9 +1436,6 @@ static void register_opts(struct lightningd *ld)
" channels using splicing");
/* This affects our features, so set early. */
opt_register_early_noarg("--experimental-onion-messages",
opt_set_onion_messages, ld,
opt_hidden);
opt_register_early_noarg("--experimental-offers",
opt_set_offers, ld,
opt_hidden);
@@ -1468,9 +1449,6 @@ static void register_opts(struct lightningd *ld)
opt_set_quiesce, ld,
"experimental: Advertise ability to quiesce"
" channels.");
opt_register_early_noarg("--experimental-anchors",
opt_set_anchor_zero_fee_htlc_tx, ld,
opt_hidden);
clnopt_noarg("--help|-h", OPT_EXITS,
opt_lightningd_usage, ld, "Print this message.");