getNodesToDelete

Updates the list of nodes to be deleted based on the current filter criteria. The logic is as follows:

  • The "older than X days" filter (controlled by the slider) is always active.

  • If "only unknown nodes" is also enabled, nodes that are BOTH unknown AND older than X days are selected.

  • If "only unknown nodes" is not enabled, all nodes older than X days are selected.

  • Nodes with an associated public key (PKI) heard from within the last 7 days are always excluded from deletion.

  • Nodes marked as ignored or favorite are always excluded from deletion.