mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-20 05:42:05 +02:00
lnd: update defaultMaxLocalCSVDelay
Make sure our default local csv delay maximum is symetric compared to the remote default csv maximum.
This commit is contained in:
parent
d0ca48a435
commit
39f9673bc7
@ -175,9 +175,10 @@ const (
|
|||||||
defaultRemoteMaxHtlcs = 483
|
defaultRemoteMaxHtlcs = 483
|
||||||
|
|
||||||
// defaultMaxLocalCSVDelay is the maximum delay we accept on our
|
// defaultMaxLocalCSVDelay is the maximum delay we accept on our
|
||||||
// commitment output.
|
// commitment output. The local csv delay maximum is now equal to
|
||||||
// TODO(halseth): find a more scientific choice of value.
|
// the remote csv delay maximum we require for the remote commitment
|
||||||
defaultMaxLocalCSVDelay = 10000
|
// transaction.
|
||||||
|
defaultMaxLocalCSVDelay = 2016
|
||||||
|
|
||||||
// defaultChannelCommitInterval is the default maximum time between
|
// defaultChannelCommitInterval is the default maximum time between
|
||||||
// receiving a channel state update and signing a new commitment.
|
// receiving a channel state update and signing a new commitment.
|
||||||
|
@ -59,7 +59,7 @@ const (
|
|||||||
|
|
||||||
// defaultMaxLocalCSVDelay is the maximum delay we accept on our
|
// defaultMaxLocalCSVDelay is the maximum delay we accept on our
|
||||||
// commitment output.
|
// commitment output.
|
||||||
defaultMaxLocalCSVDelay = 10000
|
defaultMaxLocalCSVDelay = 2016
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user