From f8da37fff0d42660177782ecb44c0098db816e24 Mon Sep 17 00:00:00 2001 From: Benoit Verret Date: Fri, 8 Jun 2018 02:02:52 -0400 Subject: [PATCH] Increase cltv_final During a meeting earlier this week we agreed with Eclair to temporarily increase the final CLTV delta in our invoices to establish compatibility with the already deployed Eclair wallets. They in turn agreed to remove the enforcement of higher final CLTV deltas, or bump it locally should it not match their expectations as allowed by BOLT 11. This has since been implemented in ACINQ/eclair#627. --- lightningd/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightningd/options.c b/lightningd/options.c index 2c57b0b6c..4fc6e6c31 100644 --- a/lightningd/options.c +++ b/lightningd/options.c @@ -500,7 +500,7 @@ static const struct config testnet_config = { /* Be aggressive on testnet. */ .cltv_expiry_delta = 6, - .cltv_final = 6, + .cltv_final = 10, /* Send commit 10msec after receiving; almost immediately. */ .commit_time_ms = 10, @@ -556,7 +556,7 @@ static const struct config mainnet_config = { * * The minimum `cltv_expiry` we will accept for terminal payments: the * worst case for the terminal node C lower at `2R+G+S` blocks */ - .cltv_final = 8, + .cltv_final = 10, /* Send commit 10msec after receiving; almost immediately. */ .commit_time_ms = 10,