Closed rollingdice closed 4 years ago
In case anyone else runs across this issue: getnodeinfo
only returns information about peers in the channel graph. Some of your peers may not have any public channels (or channels at all), in which case you'll get the error above.
Background
lncli getnodeinfo simply returned this:
[lncli] rpc error: code = Unknown desc = unable to find node
lncli listpeers returned 3 peers.
Your environment
LND version: 0.10.0-beta, compiled from source using installation instruction Linux 4.9.0-9-686-pae #1 SMP Debian 4.9.168-1+deb9u5 (2019-08-11) i686 GNU/Linux bitcoind 0.19.1, running as TOR hidden service Blockchain fully synced, although txindex is halfway synced Node sitting under router with NAT with public IP address
lnd.conf:
bitcoin.conf:
Steps to reproduce
Compile, install, configure, and sync bitcoincore 0.19.1 Compile & install lnd Run lnd, unlock wallet with lncli Run lncli getnodeinfo
Expected behaviour
Get another node info, should be similar to getinfo on own node
Actual behaviour
In the lnd terminal:
2020-05-16 02:34:20.958 [ERR] RPCS: [/lnrpc.Lightning/GetNodeInfo]: unable to find node
lncli result:
[lncli] rpc error: code = Unknown desc = unable to find node
Tried searching high and low but looks like no one has similar problem as me. I could have overlooked something when configuring things, so any help is appreciated.