go-pulse/les/utils
Felföldi Zsolt 7a800f98f6
les/utils: UDP rate limiter (#21930)
* les/utils: Limiter

* les/utils: dropped prior weight vs variable cost logic, using fixed weights

* les/utils: always create node selector in addressGroup

* les/utils: renamed request weight to request cost

* les/utils: simplified and improved the DoS penalty mechanism

* les/utils: minor fixes

* les/utils: made selection weight calculation nicer

* les/utils: fixed linter warning

* les/utils: more precise and reliable probabilistic test

* les/utils: fixed linter warning
2021-01-28 22:47:15 +01:00
..
exec_queue_test.go les: create utilities as common package (#20509) 2020-03-31 17:17:24 +02:00
exec_queue.go les: create utilities as common package (#20509) 2020-03-31 17:17:24 +02:00
expiredvalue_test.go les: implement new les fetcher (#20692) 2020-07-28 18:02:35 +03:00
expiredvalue.go les: rework float conversion on arm64 and other architectures (#21994) 2020-12-11 10:28:01 +01:00
limiter_test.go les/utils: UDP rate limiter (#21930) 2021-01-28 22:47:15 +01:00
limiter.go les/utils: UDP rate limiter (#21930) 2021-01-28 22:47:15 +01:00
timeutils_test.go les, les/lespay/server: refactor client pool (#21236) 2020-09-14 22:44:20 +02:00
timeutils.go les, les/lespay/server: refactor client pool (#21236) 2020-09-14 22:44:20 +02:00
weighted_select_test.go les, les/lespay: implement new server pool (#20758) 2020-05-22 13:46:34 +02:00
weighted_select.go les/utils: UDP rate limiter (#21930) 2021-01-28 22:47:15 +01:00