This one is interesting. So there's a concept of zombie channels in lighting, basically channels who's node has permanently gone offline.
Like dead leaves on a tree, they have to be trimmed.
Initially I thought a command like lnt kill channel --zombie might be appropriate, but then you'd have to have this whole interactive process else you'd be trusting lnt to kill all the right channels ( big no no ).
Instead, I think a flow like lnt view channel --zombie | lnt kill channel might be more appropriate. If an operator would like to view the channels to be killed beforehand, they can do lnt view channel --zombie > killlist.txt to view and then feed that list into lnt kill channel
This one is interesting. So there's a concept of zombie channels in lighting, basically channels who's node has permanently gone offline.
Like dead leaves on a tree, they have to be trimmed.
Initially I thought a command like
lnt kill channel --zombiemight be appropriate, but then you'd have to have this whole interactive process else you'd be trusting lnt to kill all the right channels ( big no no ).Instead, I think a flow like
lnt view channel --zombie | lnt kill channelmight be more appropriate. If an operator would like to view the channels to be killed beforehand, they can dolnt view channel --zombie > killlist.txtto view and then feed that list intolnt kill channel