ethereum / glados

Portal network monitoring application.
65 stars 30 forks source link

fix: allow census to conclude if zero nodes are found #317

Closed mrferris closed 1 month ago

mrferris commented 1 month ago

If glados_cartographer finds zero nodes it will run the census forever.

History census recently deadlocked mysteriously, which I now believe happened because of this. Trin may have been restarted and the census was initialized before the trin node had anything in its routing table.

Additionally, beacon network currently has zero nodes on it, so one single census will run forever. This change makes it so that censuses will continually run and pick up new nodes as they come online.