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
multi: new disable mode for the taproot assets subserver
Enable to start litd with taproot asset subserver disabled.
The default mode for the new sub-server is "Disabled"
Add coverage in itests for flows with some subservers disabled (based on
Elle's #537)
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,12 +42,13 @@ const (
42
42
43
43
ModeIntegrated="integrated"
44
44
ModeRemote="remote"
45
+
ModeDisable="disable"
45
46
46
47
DefaultLndMode=ModeRemote
47
48
defaultFaradayMode=ModeIntegrated
48
49
defaultLoopMode=ModeIntegrated
49
50
defaultPoolMode=ModeIntegrated
50
-
defaultTapMode=ModeIntegrated
51
+
defaultTapMode=ModeDisable
51
52
52
53
defaultConfigFilename="lit.conf"
53
54
@@ -195,7 +196,7 @@ type Config struct {
195
196
PoolModestring`long:"pool-mode" description:"The mode to run pool in, either 'integrated' (default) or 'remote'. 'integrated' means poold is started alongside the UI and everything is stored in pool's main data directory, configure everything by using the --pool.* flags. 'remote' means the UI connects to an existing poold node and acts as a proxy for gRPC calls to it." choice:"integrated" choice:"remote"`
196
197
Pool*pool.Config`group:"Integrated pool options (use when pool-mode=integrated)" namespace:"pool"`
197
198
198
-
TaprootAssetsModestring`long:"taproot-assets-mode" description:"The mode to run taproot assets in, either 'integrated' (default)or 'remote'. '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." choice:"integrated" choice:"remote"`
199
+
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 a connection to tapd" choice:"integrated" choice:"disable"`
199
200
TaprootAssets*tapcfg.Config`group:"Integrated taproot assets options (use when taproot-assets=integrated)" namespace:"taproot-assets"`
0 commit comments