You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.go
+20-15Lines changed: 20 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,8 @@ const (
77
77
// DefaultMacaroonFilename is the default file name for the
78
78
// autogenerated lit macaroon.
79
79
DefaultMacaroonFilename="lit.macaroon"
80
+
81
+
defaultFirstLNCConnTimeout=10*time.Minute
80
82
)
81
83
82
84
var (
@@ -153,6 +155,8 @@ type Config struct {
153
155
154
156
MacaroonPathstring`long:"macaroonpath" description:"Path to write the macaroon for litd's RPC and REST services if it doesn't exist."`
155
157
158
+
FirstLNCConnDeadline time.Duration`long:"firstlncconndeadline" description:"The duration after a new LNC session will be revoked if no connection is made with it. This only applies for the first connection which is made using the pairing phrase. "`
159
+
156
160
// Network is the Bitcoin network we're running on. This will be parsed
157
161
// before the configuration is loaded and will set the correct flag on
158
162
// `lnd.bitcoin.mainnet|testnet|regtest` and also for the other daemons.
0 commit comments