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
Networkstring`long:"network" description:"network to run on" choice:"regtest" choice:"testnet" choice:"mainnet" choice:"simnet"`
35
35
SwapServerstring`long:"swapserver" description:"swap server address host:port"`
@@ -42,7 +42,7 @@ type config struct {
42
42
MaxLogFilesint`long:"maxlogfiles" description:"Maximum logfiles to keep (0 for no rotation)"`
43
43
MaxLogFileSizeint`long:"maxlogfilesize" description:"Maximum logfile size in MB"`
44
44
45
-
DebugLevelstring`short:"d" long:"debuglevel" description:"Logging level for all subsystems {trace, debug, info, warn, error, critical} -- You may also specify <subsystem>=<level>,<subsystem2>=<level>,... to set the log level for individual subsystems -- Use show to list available subsystems"`
45
+
DebugLevelstring`long:"debuglevel" description:"Logging level for all subsystems {trace, debug, info, warn, error, critical} -- You may also specify <subsystem>=<level>,<subsystem2>=<level>,... to set the log level for individual subsystems -- Use show to list available subsystems"`
46
46
MaxLSATCostuint32`long:"maxlsatcost" description:"Maximum cost in satoshis that loopd is going to pay for an LSAT token automatically. Does not include routing fees."`
47
47
MaxLSATFeeuint32`long:"maxlsatfee" description:"Maximum routing fee in satoshis that we are willing to pay while paying for an LSAT token."`
48
48
@@ -59,19 +59,22 @@ const (
59
59
testnetServer="test.swap.lightning.today:11010"
60
60
)
61
61
62
-
vardefaultConfig=config{
63
-
Network: "mainnet",
64
-
RPCListen: "localhost:11010",
65
-
RESTListen: "localhost:8081",
66
-
Insecure: false,
67
-
LogDir: defaultLogDir,
68
-
MaxLogFiles: defaultMaxLogFiles,
69
-
MaxLogFileSize: defaultMaxLogFileSize,
70
-
DebugLevel: defaultLogLevel,
71
-
MaxLSATCost: lsat.DefaultMaxCostSats,
72
-
MaxLSATFee: lsat.DefaultMaxRoutingFeeSats,
73
-
LoopOutMaxParts: defaultLoopOutMaxParts,
74
-
Lnd: &lndConfig{
75
-
Host: "localhost:10009",
76
-
},
62
+
// DefaultConfig returns all default values for the Config struct.
0 commit comments