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
Hi I have AWS EC2 instance. The node has bitcoin core ( Testnet ) and 1 LND node and is working file . Now i want to install another LND on a differnent ec2 instance but connected to the same bitcoin core . I tired opening RPC ports and modified the lnd config file of the new node with rpchost pointing to other node. When i launching lnd on the new node it hangs after opening the wallet. Any ideas as how to configure this pls
bitcoin.conf:
testnet=1
server=1
txindex=1
rpcallowip=0.0.0.0/0
rpcbind=127.0.0.1
rpcuser=XXXXX
rpcpassword=XXXXXX
datadir=/home/ubuntu/.bitcoin/data
conf=/home/ubuntu/.bitcoin/bitcoin.conf
daemon=1
keypool=2048
paytxfee=0.0007
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333
-----------lnd.conf----------------------------------
[Application Options]
externalip=XX.166.28.15X <--- Public elastic IP of the LN node ..
alias=xxxxxx
[Bitcoin]
bitcoin.active=1
bitcoin.testnet=1
bitcoin.node=bitcoind
[Bitcoind]
bitcoind.rpchost=xx.88.241.yyyy <--- Public elastic IP of bitcoin-core instance
rpcuser=XXXXX
rpcpassword=XXXXXX
bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332
bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333
-----------error log ------------------------------------------
2022-05-29 08:34:57.920 [INF] LTND: Version: 0.15.0-beta.rc3 commit=v0.15.0-beta.rc3-2-g1e0d6ec0a, build=production, logging=default, debuglevel=info
2022-05-29 08:34:57.921 [INF] LTND: Active chain: Bitcoin (network=testnet)
2022-05-29 08:34:57.922 [INF] RPCS: RPC server listening on 127.0.0.1:10009
2022-05-29 08:34:57.922 [INF] RPCS: gRPC proxy started at 127.0.0.1:8080
2022-05-29 08:34:57.923 [INF] LTND: Opening the main database, this might take a few minutes...
2022-05-29 08:34:57.923 [INF] LTND: Opening bbolt database, sync_freelist=false, auto_compact=false
2022-05-29 08:34:57.924 [INF] LTND: Creating local graph and channel state DB instances
2022-05-29 08:34:57.938 [INF] CHDB: Checking for schema update: latest_version=27, db_version=27
2022-05-29 08:34:57.938 [INF] LTND: Database(s) now open (time_to_open=14.298545ms)!
2022-05-29 08:34:57.938 [INF] LTND: We're not running within systemd or the service type is not 'notify'
2022-05-29 08:34:57.938 [INF] LTND: Waiting for wallet encryption password. Use lncli create
to create a wallet, lncli unlock
to unlock an existing wallet, or lncli changepassword
to change the password of an existing wallet and unlock it.
2022-05-29 08:35:29.832 [INF] LNWL: Opened wallet
2022-05-29 08:35:29.904 [INF] CHRE: Primary chain is set to: bitcoin
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x86821e]
goroutine 100 [running]:
github.com/btcsuite/btcd/rpcclient.(*Client).handleSendPostMessage(0xc0000f1080, 0xc0003ef0e0)
/home/ubuntu/go/pkg/mod/github.com/btcsuite/btcd@v0.22.0-beta.0.20220413172512-bf64c8bdbbbf/rpcclient/infrastructure.go:814 +0x4fe
github.com/btcsuite/btcd/rpcclient.(*Client).sendPostHandler(0xc0000f1080)
/home/ubuntu/go/pkg/mod/github.com/btcsuite/btcd@v0.22.0-beta.0.20220413172512-bf64c8bdbbbf/rpcclient/infrastructure.go:861 +0x34
created by github.com/btcsuite/btcd/rpcclient.(*Client).start
/home/ubuntu/go/pkg/mod/github.com/btcsuite/btcd@v0.22.0-beta.0.20220413172512-bf64c8bdbbbf/rpcclient/infrastructure.go:1134 +0x105
ubuntu@ip-172-31-2-169:~/.lnd$
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