mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-09 20:33:45 +01:00
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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user