lightning community – For a way lengthy has a channel been inactive?
I wish to shut channels for which there’s sufficient proof that the distant node disappeared and will not come again.
So my concept was to verify for a way lengthy a channel has been inactive, and whether it is > two months to shut that channel.
How may I discover out for a way lengthy a channel has been inactive (in LND)? Discovering out which channels are inactive is simple by querying
lncli listchannels --inactive_only, however the consequence doesn’t present any indicator about how lengthy that channel has been inactive.