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
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -42,13 +42,15 @@ const (
42
42
43
43
ModeIntegrated="integrated"
44
44
ModeRemote="remote"
45
+
ModeEnable="enable"
45
46
ModeDisable="disable"
46
47
47
-
DefaultLndMode=ModeRemote
48
-
defaultFaradayMode=ModeIntegrated
49
-
defaultLoopMode=ModeIntegrated
50
-
defaultPoolMode=ModeIntegrated
51
-
defaultTapMode=ModeIntegrated
48
+
DefaultLndMode=ModeRemote
49
+
defaultFaradayMode=ModeIntegrated
50
+
defaultLoopMode=ModeIntegrated
51
+
defaultPoolMode=ModeIntegrated
52
+
defaultTapMode=ModeIntegrated
53
+
defaultAccountsMode=ModeEnable
52
54
53
55
defaultConfigFilename="lit.conf"
54
56
@@ -199,6 +201,8 @@ type Config struct {
199
201
TaprootAssetsModestring`long:"taproot-assets-mode" description:"The mode to run taproot assets in, either 'integrated' (default), 'remote' or 'disable'. 'integrated' means tapd is started alongside the UI and everything is stored in tap's main data directory, configure everything by using the --taproot-assets.* flags. 'remote' means the UI connects to an existing tapd node and acts as a proxy for gRPC calls to it. 'disable' means that LiT is started without tapd" choice:"integrated" choice:"disable"`
200
202
TaprootAssets*tapcfg.Config`group:"Integrated taproot assets options (use when taproot-assets=integrated)" namespace:"taproot-assets"`
201
203
204
+
AccountsModestring`long:"accounts-mode" description:"The mode to run the accounts service in, either 'enable' (default), or 'disable'. 'enable' means that LiT is started with the integrated the accounts service enabled and running. 'disable' means that LiT is started with the accounts service disabled, and all requests to the accounts service will be rejected." choice:"enable" choice:"disable"`
0 commit comments