openoms on Nostr: It depends on the CLTV (CHECKLOCKTIMEVERIFY) value of the routed HTLC. LND channels ...
Published at
2023-04-10 19:22:09Event JSON
{
"id": "9f9a365884eeaddb977681d3182650506d636b8603649ae115ad105d9dc5c4ce",
"pubkey": "aac07d95089ce6adf08b9156d43c1a4ab594c6130b7dcb12ec199008c5819a2f",
"created_at": 1681154529,
"kind": 1,
"tags": [
[
"e",
"acb26f9e07dddcb473292c687b969042600760e665815c79a11a3c42c6f8e7f5",
"",
"root"
],
[
"p",
"683211bd155c7b764e4b99ba263a151d81209be7a566a2bb1971dc1bbd3b715e"
],
[
"t",
"L378"
]
],
"content": "It depends on the CLTV (CHECKLOCKTIMEVERIFY) value of the routed HTLC.\n\nLND channels take 2016 blocks (2 weeks) max by default, but it needs to be lower with the cltv_delta value with every hop where it is routed.\n https://github.com/lightningnetwork/lnd/blob/6e0a67d05bd375c4b39db53dc45df74157227a57/sample-lnd.conf#L378\n\nOther implementations have the max value lower at 144.\n\n@npub1p2psats79rypr8lpnl9t5qdekfp700x660qsgw284xvq4s09lqrqqk3m82sets it to 24h (144 blocks) for maximum compatibility. ",
"sig": "c6fa45a1d943f3a51f26f07dde94d02acd49ac0d8e7811a908a00198c98e9b1bd6d28a6661451b1f9ff9391e76f20c916169e3354b840eb2a4bbe2b07acab03a"
}