@@ -49,14 +49,46 @@ Visit https://localhost:8443 to access LiT.
49
49
50
50
## Additional Configuration
51
51
52
- The "remote" mode means that ` lnd ` is started as a standalone process, possibly on another
52
+ The default "remote" mode means that ` lnd ` is started as a standalone process, possibly on another
53
53
host, and ` litd ` connects to it, right after starting its UI server. Once the connection
54
54
to the remote ` lnd ` node has been established, ` litd ` then goes ahead and starts
55
55
` faraday ` , ` pool ` and ` loop ` and connects them to that ` lnd ` node as well.
56
56
57
- Currently the UI server cannot connect to ` loop ` , ` pool ` or ` faraday ` daemons
58
- that aren't running in the same process. But that feature will also be available
59
- in future versions.
57
+ ### Connecting LiT to a remote faraday node
58
+
59
+ To instruct LiT to not start its own integrated ` faraday ` daemon but instead
60
+ connect to an existing node, use the following configuration options:
61
+
62
+ ``` text
63
+ faraday-mode=remote
64
+ remote.faraday.rpcserver=<externally-reachable-ip-address>:8465
65
+ remote.faraday.macaroonpath=/some/folder/with/faraday/data/faraday.macaroon
66
+ remote.faraday.tlscertpath=/some/folder/with/faraday/data/tls.cert
67
+ ```
68
+
69
+ ### Connecting LiT to a remote loopd node
70
+
71
+ To instruct LiT to not start its own integrated ` loopd ` daemon but instead
72
+ connect to an existing node, use the following configuration options:
73
+
74
+ ``` text
75
+ loop-mode=remote
76
+ remote.loop.rpcserver=<externally-reachable-ip-address>:11010
77
+ remote.loop.macaroonpath=/some/folder/with/loop/data/loop.macaroon
78
+ remote.loop.tlscertpath=/some/folder/with/loop/data/tls.cert
79
+ ```
80
+
81
+ ### Connecting LiT to a remote poold node
82
+
83
+ To instruct LiT to not start its own integrated ` poold ` daemon but instead
84
+ connect to an existing node, use the following configuration options:
85
+
86
+ ``` text
87
+ pool-mode=remote
88
+ remote.pool.rpcserver=<externally-reachable-ip-address>:12010
89
+ remote.pool.macaroonpath=/some/folder/with/pool/data/pool.macaroon
90
+ remote.pool.tlscertpath=/some/folder/with/pool/data/tls.cert
91
+ ```
60
92
61
93
## Use command line parameters only
62
94
0 commit comments