erigon-pulse/cl
Bayram Guvanjov e7e1bf444c
Caplin: Add a request limiter (#8868)
This PR is to add the request rate limiter. 

The solution is to count the request number for each peer for each
minute, if the peer exceeds the limit, block the requests for a
specified time.

Current limits:
- Request limited to `5000` requests per minute for each handler.
- Penalty blockage time `1-minute`
2023-12-01 20:11:18 +01:00
..
abstract Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
antiquary Keep few beacon block headers in mdbx (#8809) 2023-11-22 01:45:15 +01:00
beacon Keep few beacon block headers in mdbx (#8809) 2023-11-22 01:45:15 +01:00
clparams Adds flags to enable/disable backfilling and enable full historical beacon node (#8813) 2023-11-22 13:24:35 +01:00
clstages Fixed accidental chain gap (#8222) 2023-09-17 16:25:17 +02:00
cltypes Adds flags to enable/disable backfilling and enable full historical beacon node (#8813) 2023-11-22 13:24:35 +01:00
domino Better caplin logging and logic (#7992) 2023-08-10 22:34:58 +02:00
fork Adds flags to enable/disable backfilling and enable full historical beacon node (#8813) 2023-11-22 13:24:35 +01:00
freezer Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
merkle_tree Adds flags to enable/disable backfilling and enable full historical beacon node (#8813) 2023-11-22 13:24:35 +01:00
persistence Adds flags to enable/disable backfilling and enable full historical beacon node (#8813) 2023-11-22 13:24:35 +01:00
phase1 metrics: use prometheus histogram and summary interfaces (#8808) 2023-11-24 17:50:57 +00:00
pool Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00
rpc Same range parallel downloader (#8554) 2023-10-22 17:30:27 +02:00
sentinel Caplin: Add a request limiter (#8868) 2023-12-01 20:11:18 +01:00
spectest Adds flags to enable/disable backfilling and enable full historical beacon node (#8813) 2023-11-22 13:24:35 +01:00
ssz Better caplin logging and logic (#7992) 2023-08-10 22:34:58 +02:00
transition Adds flags to enable/disable backfilling and enable full historical beacon node (#8813) 2023-11-22 13:24:35 +01:00
utils Adds flags to enable/disable backfilling and enable full historical beacon node (#8813) 2023-11-22 13:24:35 +01:00
coverage Added coverage checker for caplin packages (#7609) 2023-05-31 18:12:18 +02:00
readme.md Sentinel refactor (#8296) 2023-10-22 01:17:18 +02:00

cl

all code under this directory and subdirectories falls under apache 2.0 license, seen in ./LICENSE