lntop
lntop copied to clipboard
feature-request: Menu tab for forwarding history
It might be nice to view the output of lncli fwdinghistory
in a separate tab in addition to the live Routing tab. This would allow to display historic forwarding information. The start/end times could be set via config flag.
This feature complements the real-time routing event tab with historical settled routing events without storing additional data.
Might be a little simplified once this is merged to lnd: https://github.com/lightningnetwork/lnd/pull/7001
I am working on this and should have a PR ready soon.
nice feature, was an option to save these kind off information into a database to go back in time and also analyze the information lntop captures with other tools already discussed ?
The discussion was started here https://github.com/edouardparis/lntop/issues/68 but hasn't gained traction so far.
In this PR I want to introduce a simple view of the forwarding history without the need for additional storage. If needed this can be replaced later on by custom data extracted from the routing events.
I am working on this and should have a PR ready soon.
I got the basic functionality working locally but I would like to wait until https://github.com/lightningnetwork/lnd/pull/7083 makes it into the next release. This will simplify the code in this PR.