6 Commits

Author SHA1 Message Date
vyzo
8191980fc8 decouple global coutner decay from source counter decay
So that we can have fast reaction, while retaining source counters for longer.
2020-09-07 13:38:02 +03:00
vyzo
c242b2e7be configure the peer gater using a parameter object, docs and stuff 2020-09-07 13:38:02 +03:00
vyzo
8408e700e2 fix test races 2020-09-07 13:38:02 +03:00
vyzo
be1b155d45 use IPs for peer gater stat tracking 2020-09-07 13:38:02 +03:00
vyzo
7912408642 fix non-determinism in test 2020-09-07 13:38:02 +03:00
vyzo
811ca922d4 add test for peer gater 2020-09-07 13:38:02 +03:00