-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[bug]:LND in litd Fails to Start Graph Sync with bitcoind Backend after migration from neutrino #10111
Description
Background
After migrating a node from a neutrino backend to a bitcoind backend within a litd environment, the LND sub-server fails to become fully operational.
The node starts, the wallet can be unlocked, and ZMQ connections to bitcoind are successful (evidenced by "Received new block notification" log entries in lnd.log). However, the channel graph sync never begins. The DISC subsystem shows no activity on startup, and lncli getinfo perpetually reports synced_to_graph: false. Additionally, any peer connection attempts fail with lnd.log indicating server is still in the process of starting
The problem is immediately resolved by switching the LND backend configuration from bitcoind back to neutrino.
Your environment
version of lnd: 0.19.1-beta (integrated in litd 0.15.0)
which operating system: ubuntu 24.04
version of btcd, bitcoind, or other backend: v28.1.knots20250305
Steps to reproduce
Configure litd to run an integrated LND node with neutrino backend.
Switch from neutrino server to bitcoind server providing valid RPC credentials and ZMQ addresses.
Expected behaviour
After the wallet is unlocked, LND should begin syncing the channel graph by making RPC calls to bitcoind. The logs should show activity from the DISC subsystem. After some time, lncli getinfo should report synced_to_graph: true, and the node should become fully operational.
Actual behaviour
After the wallet is unlocked, the LND sub-server receives new block notifications via ZMQ but never starts the graph sync. The logs show no startup activity from the DISC subsystem. lncli getinfo perpetually shows synced_to_graph: false. Any attempts to use network features like lncli connect fail with the error rpc error: code = Unknown desc = server is still in the process of starting. The node never becomes fully operational with the bitcoind backend.