Graph Pruning
Over time, some Lightning channels become unresponsive or inactive, yet they stay in the node’s database. Graph pruning removes these dead branches, minimizing memory use and speeding up routing calculations. Nodes typically prune channels that haven’t seen updates or successful pings for a set period.
This housekeeping step ensures the LN topology reflects the real, active channels rather than cluttering it with outdated entries. Users generally don’t notice pruning, as it happens in the background. Still, it’s essential for maintaining a lean and accurate view of the ever-evolving LN network graph.