Closed Heebron closed 1 week ago
This can occur when a peer is unreachable, since LNDg is asking LND to try a reconnection every 3 minutes when a channel is offline. It seems if LND takes longer than this to try a connection, then the requests start to pile up.
I noticed that when I run lndg, I see the following in my lnd logs:
I don't know for sure where the error lies. However, there seems to be two problems - lndg is connecting over and over again and lnd is not limiting the size of the array containing the attempts. This unbounded growth could lead to DoS. I also noticed that most of the nodes listed above are tor only nodes. I don't listen on tor.
I'll be digging into this once I have a moment - but thought I'd post here in the off chance you would immediately know the cause and the remedy. Thank you much for this FOSS work!