I use two docker containers on Ubuntu: bitcoind and lightninglabs/lnd:v0.14.2-beta
I'm in testnet. bitcoind is up to date with the blockchain.
I have 2 questions:
How do I know if lnd is connected to bitcoind ?
I succesfully created the lnd wallet (lncli -n=testnet create
)
After 24 hours, I still have this error message:
lncli -n=testnet getinfo
rpc error: code = Unknown desc = the RPC server is in the process of
starting up, but not yet ready to accept calls
What is the problem with my connection ?
Both containers are on the same network (bridge):
bitcoind: 172.17.0.3
lnd: 172.17.0.4
Here is my bitcoin.conf
debug=1
testnet=1
txindex=1
deamon=1
disablewallet=0
printtoconsole=1
server=1
rpcallowip=172.17.0.0/24
rpcbind=172.17.0.3
rpcauth=btcclient:bb0cee3acb6c176a8a41c48ca83bbc8d$ac78da0ec3c4ad7f1e7327b971b04dda1b56622a720643fc3a1bb98c27f2ef8c
zmqpubrawblock=tcp://172.17.0.3:18333
zmqpubrawtx=tcp://172.17.0.3:18332
And (part of) lnd.conf
[Bitcoin]
bitcoin.active=1
bitcoin.node=bitcoind
# enable either testnet or mainnet
bitcoin.testnet=1
#bitcoin.mainnet=1
[Bitcoind]
bitcoind.rpcuser=btcclient
bitcoind.rpcpass=abc...def
bitcoind.rpchost=172.17.0.3
bitcoind.zmqpubrawblock=tcp://172.17.0.3:18332
bitcoind.zmqpubrawtx=tcp://172.17.0.3:18333
bitcoind.estimatemode=ECONOMICAL
I also have forwarded the following ports on the bitcoind container:
8333:8333 18332:18332 18333:18333 8332:8332