Difference between revisions of "Delays"
Jump to navigation
Jump to search
MiltonPusser (talk | contribs) (Created page with "There are several delays built in to Lightning. = Time Lock Delta / CLTV delta = * Time Lock Delta is the same as CLTV delta * It is a setting in the channel {{HELP|Please ad...") |
MiltonPusser (talk | contribs) |
||
Line 4: | Line 4: | ||
* Time Lock Delta is the same as CLTV delta | * Time Lock Delta is the same as CLTV delta | ||
* It is a setting in the channel | * It is a setting in the channel | ||
* each hop has a time delta, when you include that hop that delta gets added to the final absolute HTLC that the sender sends out | |||
** if each hop has a 1 block delta, and there are 3 hops, then if we’re at height 0, the cltv expiry the sender uses for that first htlc is 3 | |||
= Force-close delay / csv_delay = | = Force-close delay / csv_delay = |
Revision as of 09:41, 6 March 2019
There are several delays built in to Lightning.
Time Lock Delta / CLTV delta
- Time Lock Delta is the same as CLTV delta
- It is a setting in the channel
- each hop has a time delta, when you include that hop that delta gets added to the final absolute HTLC that the sender sends out
- if each hop has a 1 block delta, and there are 3 hops, then if we’re at height 0, the cltv expiry the sender uses for that first htlc is 3
Force-close delay / csv_delay
- csv_delay is the same as force close delay
- Set when opening a channel (lnd: remote_csv_delay)
- Hoe many blocks to wait to get funds back in a unfriendly close