On my LND node, I can run
lncli describegraph
to output my node's view of the network.I want to have a daemon that ONLY listens for channel gossip. Perhaps using LDK to make a bespoke solution.
It would be useful for lightweight wallets to query this daemon for routes, etc.
I assume it needs at least 1 peer to receive updates. But does it require maintaining a channel?
Any tips on where to start something like this with LDK?
lncli connect
you can tell your node to peer with someone without creating a channel then you can uselncli queryroutes
to get a payment route to a node. You can probably callqueryroutes
over rpc.