mempool icon indicating copy to clipboard operation
mempool copied to clipboard

The lightning network seems to die if you are offline for too long

Open nymkappa opened this issue 3 years ago • 2 comments

Unsure if that's an issue with lnd or our nodejs backend (or a combination of both with bad timings), but that's obviously incorrect. It happens when you go offline for a while.

Screen Shot 2022-07-23 at 10 53 01 AM

nymkappa avatar Jul 23 '22 08:07 nymkappa

Maybe the LND has shifted to graph in sync = false, but nodejs was still running so it doesn't check for it anymore? So maybe checking the isSync status again before the daily stats logging might fix it

softsimon avatar Jul 23 '22 13:07 softsimon

Note: The issue is probably related to our lnd node running over Tor. That's going to be something that we need to handle for rpi users. An basic safety mechanism would be to "freeze" updates on the nodejs backend end if the LN graph size drop by more than a specific threshold, indicating a network issue.

nymkappa avatar Jul 26 '22 15:07 nymkappa

Afaik we can close this because we will by default run stats update often (every few minutes). Also we update current day stats every time we run the update. So the bad stats when your ln gets out of sync will be overriden when it goes back on track.

nymkappa avatar Sep 08 '22 21:09 nymkappa