evansmj / cln-node-visualization

Core Lightning channel visualizer. Connect to your node, and see the channel graph. Used in workshops at Unconfiscatable, Bitcoin Atlantis, bitcoin++ Buenos Aires, and more. In conjunction with LNPlay (lnplay.guide).
https://lnplay.network
MIT License
6 stars 1 forks source link

WebSocket subscription of data? #35

Open evansmj opened 8 months ago

evansmj commented 8 months ago

Currently you have to click on the DRAW button to get graph updates. How can we get updates automatically? using the websocket protocol vs ln.commando calls.

We don't want to poll every x seconds because we want to eventually support viewing transactions/liquidity flows in real time as they occur.

evansmj commented 8 months ago

It looks like sometimes the graph updates by itself...