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
// That way only one global network flag is needed.
170
171
Networkstring`long:"network" description:"The network the UI and all its components run on" choice:"regtest" choice:"testnet" choice:"mainnet" choice:"simnet"`
171
172
172
-
Remote*RemoteConfig`group:"Remote mode options (use when lnd-mode=remote)" namespace:"remote"`
173
+
Remote*subservers.RemoteConfig`group:"Remote mode options (use when lnd-mode=remote)" namespace:"remote"`
173
174
174
175
// LndMode is the selected mode to run lnd in. The supported modes are
175
176
// 'integrated' and 'remote'. We only use a string instead of a bool
@@ -212,40 +213,6 @@ type Config struct {
212
213
lndAdminMacaroon []byte
213
214
}
214
215
215
-
// RemoteConfig holds the configuration parameters that are needed when running
216
-
// LiT in the "remote" lnd mode.
217
-
typeRemoteConfigstruct {
218
-
LitLogDirstring`long:"lit-logdir" description:"For lnd remote mode only: Directory to log output."`
219
-
LitMaxLogFilesint`long:"lit-maxlogfiles" description:"For lnd remote mode only: Maximum logfiles to keep (0 for no rotation)"`
220
-
LitMaxLogFileSizeint`long:"lit-maxlogfilesize" description:"For lnd remote mode only: Maximum logfile size in MB"`
221
-
222
-
LitDebugLevelstring`long:"lit-debuglevel" description:"For lnd remote mode only: 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."`
223
-
224
-
Lnd*RemoteDaemonConfig`group:"Remote lnd (use when lnd-mode=remote)" namespace:"lnd"`
225
-
Faraday*RemoteDaemonConfig`group:"Remote faraday (use when faraday-mode=remote)" namespace:"faraday"`
226
-
Loop*RemoteDaemonConfig`group:"Remote loop (use when loop-mode=remote)" namespace:"loop"`
227
-
Pool*RemoteDaemonConfig`group:"Remote pool (use when pool-mode=remote)" namespace:"pool"`
228
-
}
229
-
230
-
// RemoteDaemonConfig holds the configuration parameters that are needed to
231
-
// connect to a remote daemon like lnd for example.
232
-
typeRemoteDaemonConfigstruct {
233
-
// RPCServer is host:port that the remote daemon's RPC server is
234
-
// listening on.
235
-
RPCServerstring`long:"rpcserver" description:"The host:port that the remote daemon is listening for RPC connections on."`
236
-
237
-
// MacaroonPath is the path to the single macaroon that should be used
238
-
// instead of needing to specify the macaroon directory that contains
239
-
// all of the daemon's macaroons. The specified macaroon MUST have all
240
-
// permissions that all the subservers use, otherwise permission errors
241
-
// will occur.
242
-
MacaroonPathstring`long:"macaroonpath" description:"The full path to the single macaroon to use, either the main (admin.macaroon in lnd's case) or a custom baked one. A custom macaroon must contain ALL permissions required for all subservers to work, otherwise permission errors will occur."`
243
-
244
-
// TLSCertPath is the path to the tls cert of the remote daemon that
245
-
// should be used to verify the TLS identity of the remote RPC server.
246
-
TLSCertPathstring`long:"tlscertpath" description:"The full path to the remote daemon's TLS cert to use for RPC connection verification."`
247
-
}
248
-
249
216
// lndConnectParams returns the connection parameters to connect to the local
0 commit comments