Skip to content

Commit dcea8e8

Browse files
committed
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 <[email protected]>
1 parent dca57f9 commit dcea8e8

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

doc/developers-guide/deprecations.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ hidden: false
88
| Name | Type | First Deprecated | Last Supported | Description |
99
|--------------------------------------|--------------------|------------------|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
1010
| listpeers.features.option_anchors_zero_fee_htlc_tx | Field | v24.08 | v25.08 | Renamed to `option_anchors` in the spec: check for that in `features` instead |
11-
| experimental-anchors | Config | v24.02 | v25.02 | Now the default |
12-
| experimental-onion-messages | Config | v24.08 | v25.02 | Now the default |
1311
| decode.blinding | Field | v24.11 | v25.05 | Renamed to `first_path_key` in BOLT 4 (available in `decode` from v24.11) |
1412
| onion_message_recv.blinding | Hook Field | v24.11 | v25.05 | Renamed to `first_path_key` in BOLT 4 (available in hook from v24.11) |
1513
| decodepay | Command | v24.11 | v25.11 | Use `decode` which is more powerful (since v23.05) |

lightningd/options.c

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,14 +1233,6 @@ static char *opt_set_splicing(struct lightningd *ld)
12331233
return NULL;
12341234
}
12351235

1236-
static char *opt_set_onion_messages(struct lightningd *ld)
1237-
{
1238-
if (!opt_deprecated_ok(ld, "experimental-onion-messages", NULL,
1239-
"v24.08", "v25.02"))
1240-
return "--experimental-onion-message is now enabled by default";
1241-
return NULL;
1242-
}
1243-
12441236
static char *opt_set_shutdown_wrong_funding(struct lightningd *ld)
12451237
{
12461238
feature_set_or(ld->our_features,
@@ -1265,14 +1257,6 @@ static char *opt_set_quiesce(struct lightningd *ld)
12651257
return NULL;
12661258
}
12671259

1268-
static char *opt_set_anchor_zero_fee_htlc_tx(struct lightningd *ld)
1269-
{
1270-
if (!opt_deprecated_ok(ld, "experimental-anchors", NULL,
1271-
"v24.02", "v25.02"))
1272-
return "--experimental-anchors is now enabled by default";
1273-
return NULL;
1274-
}
1275-
12761260
static char *opt_set_offers(struct lightningd *ld)
12771261
{
12781262
if (!opt_deprecated_ok(ld, "experimental-offers", NULL,
@@ -1452,9 +1436,6 @@ static void register_opts(struct lightningd *ld)
14521436
" channels using splicing");
14531437

14541438
/* This affects our features, so set early. */
1455-
opt_register_early_noarg("--experimental-onion-messages",
1456-
opt_set_onion_messages, ld,
1457-
opt_hidden);
14581439
opt_register_early_noarg("--experimental-offers",
14591440
opt_set_offers, ld,
14601441
opt_hidden);
@@ -1468,9 +1449,6 @@ static void register_opts(struct lightningd *ld)
14681449
opt_set_quiesce, ld,
14691450
"experimental: Advertise ability to quiesce"
14701451
" channels.");
1471-
opt_register_early_noarg("--experimental-anchors",
1472-
opt_set_anchor_zero_fee_htlc_tx, ld,
1473-
opt_hidden);
14741452

14751453
clnopt_noarg("--help|-h", OPT_EXITS,
14761454
opt_lightningd_usage, ld, "Print this message.");

0 commit comments

Comments
 (0)