Why is .lnd directory created when connecting to a remote lnd instance?
See original GitHub issueConsider the following command used to start up lit.
litd --remote.lnd.network=testnet \
--remote.lnd.rpcserver=localhost:10009 \
--remote.lnd.macaroondir=/root/.lnd/data/chain/bitcoin/testnet \
--remote.lnd.tlscertpath=/root/.lnd/tls.cert \
--uipassword=1234
After startup these 4 directories exist.
ls -al /root
drwxr-xr-x 3 root root 4096 Nov 12 09:45 .faraday
drwx------ 4 root root 4096 Nov 12 09:45 .lit
drwxr-xr-x 2 root root 4096 Oct 19 20:36 .lnd
drwxr-xr-x 4 root root 4096 Nov 12 09:45 .loop
The .lnd
directory is created by lit even though it’s not actually running lnd. This can cause some unexpected issues when trying to run lit on a machine where .lnd already exists as part of another lnd install (eg, where .lnd is a shared mount from another container that is running lnd)
Why is the .lnd
directory created by lit when lit is not starting up a local lnd instance?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
lnd/remote-signing.md at master · lightningnetwork/lnd - GitHub
The advantage of such a setup is that the lnd instance containing the private keys (the "signer") can be completely offline except for...
Read more >lnd.conf - Builder's Guide
The LND configuration file can be edited to customize your Lightning Network node.
Read more >Running Bitcoin & Lightning Nodes Over The Tor Network ...
When we launch LND it's going to create a hidden /.lnd folder where the node's data and configurations will be placed, similar to...
Read more >lnd package - github.com/brsuite/lnd - Go Packages
var ( // DefaultLndDir is the default directory where lnd tries to find its // configuration file and store its data. This is...
Read more >npm:bitcoin-lightning-nodejs | Skypack
LND_DIR will be used as a placeholder to denote the base directory of the lnd ... is the first method that should be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Interesting. You could be right… will recheck on my end
Any update on this? Can the issue be closed?