Commit Graph

12 Commits

Author SHA1 Message Date
Vito
3ca6dda72d improves expired squelch deletion 2025-07-30 18:22:10 +02:00
Vito
2ec5add603 adds squelchStore 2025-07-30 18:22:06 +02:00
Vito
eb805654e0 adds logic to reset validator progress and better deletion safeguards
If the validator was idle for a short period, reset it's progress. However, if the validator was idle for a long time, delete and squelch it.
Similarly, if the validator sent a lot of unique messages, but failed to reach peering constraints, squelch it.
2025-07-30 18:21:21 +02:00
Vito
5cba8d653e adds callback to squelchAll instead of calling slots directly 2025-07-30 18:21:19 +02:00
Vito
99b2aa3702 further improves member function and attribute names 2025-07-30 18:21:18 +02:00
Vito
5e6189d656 fixes windows tests 2025-07-30 18:21:17 +02:00
Vito
0ef0826466 decouples tests from squelching implementation 2025-07-30 18:21:16 +02:00
Vito
d22a2b82a7 removes unused test parameters 2025-07-30 18:21:14 +02:00
Vito
ea8763060c removes unused imports 2025-07-30 18:21:13 +02:00
Vito
450129cc16 improves code readabiliy 2025-07-30 18:21:12 +02:00
Vito
8ee5d129b2 refactors squelching to use instanced clock instead of a static clock 2025-07-30 18:21:11 +02:00
Vito
ae38c2a2ce removes member functions from Slots used only for testing, and moves them to tests 2025-07-30 18:21:09 +02:00