lnd: Error when first launching LND with bitcoind

I’m launching lnd with the following command, and then create / unlock the wallet. After unlocking the wallet lnd stops. (i’ve xx-ed out user/pass/ip)

 ./lnd --bitcoin.active --bitcoin.node=bitcoind --bitcoind.rpcuser=xxxxxx --bitcoind.rpcpass=xxxxxxxxxx --externalip=xxx.xxx.xxx.xxx
2018-01-20 03:07:02.811 [WRN] LTND: open /home/bitcoin/.lnd/lnd.conf: no such file or directory
2018-01-20 03:07:02.811 [INF] LTND: Version 0.3.0-alpha
2018-01-20 03:07:02.811 [INF] CHDB: Checking for schema update: latest_version=0, db_version=0
2018-01-20 03:07:02.823 [INF] RPCS: password gRPC proxy started at localhost:8080
2018-01-20 03:07:02.823 [INF] RPCS: password RPC server listening on 127.0.0.1:10009
2018-01-20 03:07:02.823 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create wallet, or `lncli unlock` to unlock already created wallet.
2018-01-20 03:07:12.831 [INF] LNWL: Opened wallet
2018-01-20 03:07:12.831 [INF] LTND: Primary chain is set to: bitcoin
2018-01-20 03:07:12.833 [INF] LTND: Initializing bitcoind backed fee estimator
2018-01-20 03:07:14.051 [INF] LNWL: Opened wallet
unable to start wallet: Post http://localhost:18332: dial tcp 127.0.0.1:18332: getsockopt: connection refused
unable to create chain control: Post http://localhost:18332: dial tcp 127.0.0.1:18332: getsockopt: connection refused
Post http://localhost:18332: dial tcp 127.0.0.1:18332: getsockopt: connection refused

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 22 (6 by maintainers)

Most upvoted comments

c-lightning is buggy. LND is more stable, and adding mainnet to LND is trivial and easy…

If you can’t figure out how to make LND mainnet compatible, I suggest waiting. c-lightning is not the way to go yet.

If I were to rate the implementations on mainnet readiness:

c-lightning: 60% eclair: 80% lnd: 90%

Oh, I was under the impression that lightning was already running and available on mainnet?