Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lnd: lower default CLTV delta from 144 to 40 #2759

Merged
merged 1 commit into from Mar 28, 2019

Conversation

Projects
None yet
3 participants
@Roasbeef
Copy link
Member

commented Mar 12, 2019

In this commit, we lower the default CLTV delta from 144 (1 day) to 40
blocks (~7 hours). We do this as the initial value was purposefully very
high, and was only in place as place holder in earlier versions of the
software. Such a high value can also discourage path finding algorithms
from taking lnd paths due to the negative impact of CLTV value in widely
deployed heuristics.

lnd: lower default CLTV delta from 144 to 40
In this commit, we lower the default CLTV delta from 144 (1 day) to 40
blocks (~7 hours). We do this as the initial value was purposefully very
high, and was only in place as place holder in earlier versions of the
software. Such a high value can also discourage path finding algorithms
from taking lnd paths due to the negative impact of CLTV value in widely
deployed heuristics.

@Roasbeef Roasbeef added this to the 0.6 milestone Mar 12, 2019

@cfromknecht
Copy link
Collaborator

left a comment

LGTB 👽

@@ -37,7 +37,7 @@ const (
defaultBitcoinMinHTLCMSat = lnwire.MilliSatoshi(1000)
defaultBitcoinBaseFeeMSat = lnwire.MilliSatoshi(1000)
defaultBitcoinFeeRate = lnwire.MilliSatoshi(1)
defaultBitcoinTimeLockDelta = 144
defaultBitcoinTimeLockDelta = 40

This comment has been minimized.

Copy link
@halseth

halseth Mar 19, 2019

Collaborator

decrease for LTC?

@Roasbeef Roasbeef merged commit cddbf19 into lightningnetwork:master Mar 28, 2019

1 of 2 checks passed

coverage/coveralls Coverage decreased (-0.03%) to 60.19%
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.