1 Commits

Author SHA1 Message Date
Adam Babik
51d2371cf9
Implement peer rate limiter (#33)
This change introduces a rate limiting for peer's IP and ID. It allows for 10 messages per second from a single IP and 3 messages per second from a single peer ID. It does not enforce this policy though, it only collects stats for now.
2019-11-12 08:11:38 +01:00