From 31f65f63ce7e2acfb2a5975906d24c85ec578688 Mon Sep 17 00:00:00 2001 From: Abdullahi Yunus Date: Sat, 5 Jul 2025 21:16:48 +0100 Subject: [PATCH 1/2] fix: correct doc for eclair config In this commit we correct the doc for enabling `keysend` in eclair. Note: `--features.keysend=optional` is only usefull in Polar because of how eclair docker image is built. See: https://github.com/jamaljsr/polar/blob/master/docker/eclair/docker-entrypoint.sh#L25-L35 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df06ec07..2e4c8473 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ have permission to execute commands on. Note that the current version of the simulator uses keysend to execute payments, which must be enabled as follows: * LND: `--accept-keysend` * CLN: enabled by default -* Eclair: `--features.keysend=optional` +* Eclair: `-Declair.features.keysend=optional` ## Getting Started From 21c767cefd90e746eb5e336c00413bd8beaa8b14 Mon Sep 17 00:00:00 2001 From: Abdullahi Yunus Date: Sat, 5 Jul 2025 21:37:24 +0100 Subject: [PATCH 2/2] fix(doc): additional config for CLN to eclair Without these configs CLN keysend payments to eclair will fail. This is because CLN uses 22 final expiry delta which is less than eclair's default (30). --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 2e4c8473..03e3fc42 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,13 @@ of the simulator uses keysend to execute payments, which must be enabled as foll * CLN: enabled by default * Eclair: `-Declair.features.keysend=optional` +NOTE: for CLN `keysend` to work with eclair, you need to add additional config to eclair: +``` +-Declair.channel.min-final-expiry-delta-blocks=N +-Declair.channel.fulfill-safety-before-timeout-blocks=M +``` +where N and M are numbers, and N must be larger than M (N must be 22, CLN's default, or more) + ## Getting Started Once you have all the pre-requisites installed, clone the repo: