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
+39-3Lines changed: 39 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"
@@ -46,6 +47,7 @@ const (
46
47
defaultFaradayMode=ModeIntegrated
47
48
defaultLoopMode=ModeIntegrated
48
49
defaultPoolMode=ModeIntegrated
50
+
defaultTapMode=ModeIntegrated
49
51
50
52
defaultConfigFilename="lit.conf"
51
53
@@ -68,9 +70,11 @@ const (
68
70
defaultRemoteFaradayRpcServer="localhost:8465"
69
71
defaultRemoteLoopRpcServer="localhost:11010"
70
72
defaultRemotePoolRpcServer="localhost:12010"
71
-
defaultLndChainSubDir="chain"
72
-
defaultLndChain="bitcoin"
73
-
defaultLndMacaroon="admin.macaroon"
73
+
defaultRemoteTapRpcServer="localhost:10029"
74
+
75
+
defaultLndChainSubDir="chain"
76
+
defaultLndChain="bitcoin"
77
+
defaultLndMacaroon="admin.macaroon"
74
78
75
79
// DefaultAutogenValidity is the default validity of a self-signed
76
80
// certificate. The value corresponds to 14 months
@@ -89,6 +93,7 @@ var (
89
93
faradayDefaultConfig=faraday.DefaultConfig()
90
94
loopDefaultConfig=loopd.DefaultConfig()
91
95
poolDefaultConfig=pool.DefaultConfig()
96
+
tapDefaultConfig=tapcfg.DefaultConfig()
92
97
93
98
// DefaultLitDir is the default directory where LiT tries to find its
94
99
// configuration file and store its data (in remote lnd node). This is a
@@ -190,6 +195,9 @@ type Config struct {
190
195
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
196
Pool*pool.Config`group:"Integrated pool options (use when pool-mode=integrated)" namespace:"pool"`
192
197
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
+
TaprootAssets*tapcfg.Config`group:"Integrated taproot assets options (use when taproot-assets=integrated)" namespace:"taproot-assets"`
0 commit comments