mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-13 15:49:04 +01:00
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.
This commit is contained in:
@@ -37,7 +37,7 @@ const (
|
||||
defaultBitcoinMinHTLCMSat = lnwire.MilliSatoshi(1000)
|
||||
defaultBitcoinBaseFeeMSat = lnwire.MilliSatoshi(1000)
|
||||
defaultBitcoinFeeRate = lnwire.MilliSatoshi(1)
|
||||
defaultBitcoinTimeLockDelta = 144
|
||||
defaultBitcoinTimeLockDelta = 40
|
||||
|
||||
defaultLitecoinMinHTLCMSat = lnwire.MilliSatoshi(1000)
|
||||
defaultLitecoinBaseFeeMSat = lnwire.MilliSatoshi(1000)
|
||||
|
||||
Reference in New Issue
Block a user