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
+57-3Lines changed: 57 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ import (
24
24
"github.com/lightninglabs/lndclient"
25
25
"github.com/lightninglabs/loop/loopd"
26
26
"github.com/lightninglabs/pool"
27
+
"github.com/lightninglabs/taproot-assets/tapcfg"
27
28
"github.com/lightningnetwork/lnd"
28
29
"github.com/lightningnetwork/lnd/build"
29
30
"github.com/lightningnetwork/lnd/cert"
@@ -41,11 +42,13 @@ const (
41
42
42
43
ModeIntegrated="integrated"
43
44
ModeRemote="remote"
45
+
ModeDisable="disable"
44
46
45
47
DefaultLndMode=ModeRemote
46
48
defaultFaradayMode=ModeIntegrated
47
49
defaultLoopMode=ModeIntegrated
48
50
defaultPoolMode=ModeIntegrated
51
+
defaultTapMode=ModeIntegrated
49
52
50
53
defaultConfigFilename="lit.conf"
51
54
@@ -68,9 +71,11 @@ const (
68
71
defaultRemoteFaradayRpcServer="localhost:8465"
69
72
defaultRemoteLoopRpcServer="localhost:11010"
70
73
defaultRemotePoolRpcServer="localhost:12010"
71
-
defaultLndChainSubDir="chain"
72
-
defaultLndChain="bitcoin"
73
-
defaultLndMacaroon="admin.macaroon"
74
+
defaultRemoteTapRpcServer="localhost:10029"
75
+
76
+
defaultLndChainSubDir="chain"
77
+
defaultLndChain="bitcoin"
78
+
defaultLndMacaroon="admin.macaroon"
74
79
75
80
// DefaultAutogenValidity is the default validity of a self-signed
76
81
// certificate. The value corresponds to 14 months
@@ -89,6 +94,7 @@ var (
89
94
faradayDefaultConfig=faraday.DefaultConfig()
90
95
loopDefaultConfig=loopd.DefaultConfig()
91
96
poolDefaultConfig=pool.DefaultConfig()
97
+
tapDefaultConfig=tapcfg.DefaultConfig()
92
98
93
99
// DefaultLitDir is the default directory where LiT tries to find its
94
100
// configuration file and store its data (in remote lnd node). This is a
@@ -190,6 +196,9 @@ type Config struct {
190
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"`
191
197
Pool*pool.Config`group:"Integrated pool options (use when pool-mode=integrated)" namespace:"pool"`
192
198
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"`
200
+
TaprootAssets*tapcfg.Config`group:"Integrated taproot assets options (use when taproot-assets=integrated)" namespace:"taproot-assets"`
0 commit comments