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
-
SwapServerstring`long:"swapserver" description:"swap server address host:port"`
36
-
TLSPathSwapSrvstring`long:"tlspathswapserver" description:"Path to swap server tls certificate. Only needed if the swap server uses a self-signed certificate."`
37
-
RPCListenstring`long:"rpclisten" description:"Address to listen on for gRPC clients"`
38
-
RESTListenstring`long:"restlisten" description:"Address to listen on for REST clients"`
39
-
CORSOriginstring`long:"corsorigin" description:"The value to send in the Access-Control-Allow-Origin header. Header will be omitted if empty."`
40
+
ShowVersionbool`long:"version" description:"Display version information and exit"`
41
+
Networkstring`long:"network" description:"network to run on" choice:"regtest" choice:"testnet" choice:"mainnet" choice:"simnet"`
42
+
RPCListenstring`long:"rpclisten" description:"Address to listen on for gRPC clients"`
43
+
RESTListenstring`long:"restlisten" description:"Address to listen on for REST clients"`
44
+
CORSOriginstring`long:"corsorigin" description:"The value to send in the Access-Control-Allow-Origin header. Header will be omitted if empty."`
40
45
41
46
LogDirstring`long:"logdir" description:"Directory to log output."`
42
47
MaxLogFilesint`long:"maxlogfiles" description:"Maximum logfiles to keep (0 for no rotation)"`
@@ -48,8 +53,9 @@ type Config struct {
48
53
49
54
LoopOutMaxPartsuint32`long:"loopoutmaxparts" description:"The maximum number of payment parts that may be used for a loop out swap."`
50
55
51
-
Lnd*lndConfig`group:"lnd" namespace:"lnd"`
52
-
Proxystring`long:"proxy" description:"The host:port of a SOCKS proxy through which all connections to the swap server will be established over."`
ViewviewParameters`command:"view" alias:"v" description:"View all swaps in the database. This command can only be executed when loopd is not running."`
55
61
}
@@ -62,10 +68,12 @@ const (
62
68
// DefaultConfig returns all default values for the Config struct.
0 commit comments