Merge pull request #7575 from lightningnetwork/0-16-1-staging

lnd: merge the 0.16.1 staging branch into master
This commit is contained in:
Olaoluwa Osuntokun
2023-04-05 16:48:25 -07:00
committed by GitHub
90 changed files with 7862 additions and 3500 deletions

View File

@@ -4,6 +4,7 @@ import (
"bytes"
goErrors "errors"
"fmt"
"math"
"runtime"
"strings"
"sync"
@@ -80,6 +81,10 @@ const (
// bitcoin (160 for litecoin), though we now clamp the lower end of this
// range for user-chosen deltas to 18 blocks to be conservative.
MinCLTVDelta = 18
// MaxCLTVDelta is the maximum CLTV value accepted by LND for all
// timelock deltas.
MaxCLTVDelta = math.MaxUint16
)
var (