pull down to refresh

Ok let's discuss something serious. I prefer answers from those who really know the answers, not just "opinions".
We have the main LN implementations used for running nodes LND, CLN, Eclair. Yes there are more but more for LN freaks.
Each one have its own CLTV delta, by default:
  • LND - 40 blocks
  • CLN - 34 blocks
  • Eclair - 144 blocks
Yes, don't send me to read the documentation. I read it, every day I read damn documentations to educate myself. I want to hear your explanation, in your own words, to see how others understand this shit.
My questions:
  • why we don't have a standard defaulr CLTV delta for all implementations?
  • why each one have that specific amount of blocks?
  • what happen if I have a LND and/or a CLN node and I set to my channels 73 blocks for CLTV ? Or any random number.
  • does this CLTV can affect force close channels?
why we don't have a standard default CLTV delta for all implementations?
Because each developer chooses a different value. It's a tradeoff between multiple factors.
why each one have that specific amount of blocks?
The CLTV delta is used so that if your peer surprise settles the HTLC, you have some amount of time to react. The amount is a tradeoff between HTLC stuck time and the possibility of losing funds due to your outbound HTLC being settled but not your inbound.
what happen if I have a LND and/or a CLN node and I set to my channels 73 blocks for CLTV ? Or any random number.
It works as usual. Defaults != requirements.
does this CLTV can affect force close channels?
If it's too long it could lead to stuck HTLCs. So possibly.
reply
Also, I'd recommend not setting it above 144 blocks (1 day) since it causes inconvenience and it could possibly cause stuck HTLCs.
reply
Maybe I should not ask too technical questions here. Seems that people are more interested in "earn passive income" than discussing serious stuff.
Sorry will not disturb again the sleep...
reply
132 sats \ 1 reply \ @nout 8 May 2022
You set quite hard requirement with the "who really know the answers" :)
This is quite tricky question that would essentially need comment from one of the LN node devs. Since CLTV delta is afaik not defined in BOLTs, the number is likely just a guesstimate by the node devs, e.g. here's what Olaoluwa had to say.
reply
Very interesting, thanks. Yeah I see that not so many LN guru devs want to join to this discussion. Would you lower on your node the CLTV to 20 for example?
I am trying to find a way, if I can set specific CLTV for each channel, what will happen.
reply