vyzo
|
a3445b756f
|
add support for priority topic delivery weights
|
2020-09-07 13:38:02 +03:00 |
vyzo
|
40762e1362
|
tweak duplicate/reject weights
|
2020-09-07 13:38:02 +03:00 |
vyzo
|
2ed9fd55ff
|
decay global counters after 2 min
we want rapid reaction to spam attacks
|
2020-09-07 13:38:02 +03:00 |
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
|
1d21536720
|
add warning for failure to parse IP out of remote multiaddr
|
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
|
45e1233b05
|
further tweak gate threshold weights
|
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
|
9f5b106a12
|
mix total accounting components with different weights
|
2020-09-07 13:38:02 +03:00 |
vyzo
|
6dbdaed793
|
count all rejections by default
|
2020-09-07 13:38:02 +03:00 |
vyzo
|
955344bf9b
|
tweak probability threshold
|
2020-09-07 13:38:02 +03:00 |
vyzo
|
ff1b1a9772
|
also account for duplicates in gating decisions
|
2020-09-07 13:38:02 +03:00 |
vyzo
|
811ca922d4
|
add test for peer gater
|
2020-09-07 13:38:02 +03:00 |
vyzo
|
93f4f91dcf
|
trace throttle peers to avoid breaking promises unfairly
|
2020-09-07 13:38:02 +03:00 |
vyzo
|
45272722d2
|
implement peer gater
|
2020-09-07 13:38:02 +03:00 |
vyzo
|
2bc51e0cf2
|
peer gater scaffolding
|
2020-09-07 13:38:02 +03:00 |