edouardparis / lntop

:zap: LN terminal dashboard :bar_chart:
MIT License
183 stars 24 forks source link

Log file of routing stream #68

Open lncyberhub opened 2 years ago

lncyberhub commented 2 years ago

The routing view is amazingly useful. I'm trying to figure out how to view a log file of the routing stream, shortened perhaps to the latest 2000 lines. Is this possible? Seeing a history of attempted routing events would be extremely useful for informing fee rates. Thanks again for this.

rkfg commented 2 years ago

It comes from the lnd events that aren't extensively logged (except if such attempts fail on your node). I think writing them into a file isn't very hard but we need to decide on the format. Should it be human readable? CSV? Maybe JSON?

ziggie1984 commented 1 year ago

I like the idea, I would even go further and dumb the routing events into a sql or something ?