cryptosharks131 / lndg

Lite GUI web interface to analyze lnd data and leverage the backend database for automation tools around rebalancing and other basic maintenance tasks.
MIT License
219 stars 41 forks source link

Feature Request: Filter Failed HTLCs to remove those for which the potential fee was 0, or a split Insufficient Balance + non-zero potential fee table #382

Open zapomatic opened 7 months ago

zapomatic commented 7 months ago

The Failed HTLC table is immensely useful for identifying which channels are attempting to route to each other but don't have enough liquidity. However, this table gets muddied and filled with many non-useful entries that cannot be rectified by the node runner.

There are two ways this could be improved:

  1. add a filter to the table and query to only return records for which the potential fee > 0. If filtering is the solution, it would also be useful to have checkbox toggles to filter the table by reason detail.
  2. create a secondary table of actionable records where the potential fee > 0 and the failure reason is Temporary Channel Failure + Insufficient Balance.