Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityAnybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
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
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments