We've been spotting a wide set of dv5 entries that seem to be related to stale records. This makes the crawler algorithm subject to count as "active" nodes that are no longer participating in the network just because someone is sharing its ENR.
related links:
59
Description
This PR aims to set an extra filter of what the crawler understands as "active", checking the last time we connected to the nodes.
Tasks
[x] add dynamically changeable interval for the "last_activity" column that will determine whether the node is active or not
[x] ensure that the crawler writes the list of active nodes as soon as it is restarted (if the list is not empty)
Motivation
We've been spotting a wide set of dv5 entries that seem to be related to stale records. This makes the crawler algorithm subject to count as "active" nodes that are no longer participating in the network just because someone is sharing its ENR.
related links:
59
Description
This PR aims to set an extra filter of what the crawler understands as "active", checking the last time we connected to the nodes.
Tasks
Proof of Success