Skip to content

Commit 0945820

Browse files
committed
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).
1 parent f12d9af commit 0945820

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ of the simulator uses keysend to execute payments, which must be enabled as foll
3737
* CLN: enabled by default
3838
* Eclair: `-Declair.features.keysend=optional` (or `--features.keysend=optional` if you're using Polar)
3939

40+
NOTE: for CLN `keysend` to work with eclair, you need to add additional config to eclair:
41+
```
42+
-Declair.channel.min-final-expiry-delta-blocks=N
43+
-Declair.channel.fulfill-safety-before-timeout-blocks=M
44+
```
45+
where N and M are numbers, and N must be larger than M (N must be 22, CLN's default, or more)
46+
4047
## Getting Started
4148

4249
Once you have all the pre-requisites installed, clone the repo:

0 commit comments

Comments
 (0)