chainreg: increase default CLTV value to 80 blocks (~13 hrs)

In this commit, we increase the default CTLV value to 80 blocks.
Initially this was set to 144 blocks in the early days, but then was
lowered to 40 blocks as the lnd implementation matured. By setting this
to a higher value, we increase the safety window (MTTR) when it comes to
node downtime, and also add some buffer room around time locks which may
become more stressed in the future assuming the current mempool load
remains persistent.
This commit is contained in:
Olaoluwa Osuntokun
2023-04-18 14:56:02 -07:00
parent d908becf73
commit 7e1628d89d
3 changed files with 7 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ const (
// DefaultBitcoinTimeLockDelta is the default forwarding time lock
// delta.
DefaultBitcoinTimeLockDelta = 40
DefaultBitcoinTimeLockDelta = 80
DefaultLitecoinMinHTLCInMSat = lnwire.MilliSatoshi(1)
DefaultLitecoinMinHTLCOutMSat = lnwire.MilliSatoshi(1000)