lightningd: remove --max-locktime-blocks.
Changelog-Removed: Config: `max-locktime-blocks` (deprecated v24.05, disabled v25.02). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -11,7 +11,6 @@ hidden: false
|
||||
| rest-protocol.clnrest-prefix | Config | v23.11 | v24.11 | Autodetect where we need to rename `rest-protocol` to `clnrest-protocol` (added in v23.11) |
|
||||
| rest-host.clnrest-prefix | Config | v23.11 | v24.11 | Autodetect where we need to rename `rest-host` to `clnrest-host` (added in v23.11) |
|
||||
| rest-certs.clnrest-prefix | Config | v23.11 | v24.11 | Autodetect where we need to rename `rest-certs` to `clnrest-certs` (added in v23.11) |
|
||||
| max-locktime-blocks | Config | v24.05 | v24.11 | --max-locktime-blocks is now set to 2016 in the BOLT 4 spec |
|
||||
| commando-rune | Command | v23.08 | v25.02 | replaced with `lightning-createrune` |
|
||||
| commando-listrunes | Command | v23.08 | v25.02 | replaced with `lightning-showrunes` |
|
||||
| commando-blacklist | Command | v23.08 | v25.02 | replaced with `lightning-blacklistrune` |
|
||||
|
||||
@@ -616,15 +616,6 @@ static char *opt_set_hsm_password(struct lightningd *ld)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static char *opt_set_max_htlc_cltv(const char *arg, struct lightningd *ld)
|
||||
{
|
||||
if (!opt_deprecated_ok(ld, "max-locktime-blocks", NULL,
|
||||
"v24.05", "v24.11"))
|
||||
return "--max-locktime-blocks has been deprecated (BOLT #4 says 2016)";
|
||||
|
||||
return opt_set_u32(arg, &ld->config.max_htlc_cltv);
|
||||
}
|
||||
|
||||
static char *opt_force_privkey(const char *optarg, struct lightningd *ld)
|
||||
{
|
||||
tal_free(ld->dev_force_privkey);
|
||||
@@ -1498,8 +1489,6 @@ static void register_opts(struct lightningd *ld)
|
||||
clnopt_witharg("--watchtime-blocks", OPT_SHOWINT, opt_set_u32, opt_show_u32,
|
||||
&ld->config.locktime_blocks,
|
||||
"Blocks before peer can unilaterally spend funds");
|
||||
opt_register_arg("--max-locktime-blocks", opt_set_max_htlc_cltv, NULL,
|
||||
ld, opt_hidden);
|
||||
clnopt_witharg("--funding-confirms", OPT_SHOWINT, opt_set_u32, opt_show_u32,
|
||||
&ld->config.funding_confirms,
|
||||
"Confirmations required for funding transaction");
|
||||
|
||||
Reference in New Issue
Block a user