status-go/params
Andrea Maria Piana c5577418b7 Implement rate limiting by bytes
Why make this change?

Currently we only rate limit by number of messages.
This works well if we want to limit a large amount of small messages but
breaks down if sending a smaller amount of large messages.

This commit extends the current code to limit by size as well, setting
the default to 1MB per second, which should be enough.

What has changed?

- Rate limiter for waku only
2020-06-15 19:46:23 +02:00
..
cluster.go Add example to demonstrate Whisper-Waku bridge (#1875) 2020-02-26 20:36:25 +01:00
config.go Implement rate limiting by bytes 2020-06-15 19:46:23 +02:00
config_test.go Address feedback from code review and add quoted image 2020-06-01 11:30:04 +02:00
defaults.go Address feedback from code review and add quoted image 2020-06-01 11:30:04 +02:00
validator.go [#856] move geth subpackages to root level (#1007) 2018-06-08 13:29:50 +02:00
version.go make sure Version is always set in loadNodeConfig() 2019-10-29 12:53:27 +01:00
version_test.go add test to check that version doesn't start with v 2019-10-29 12:53:27 +01:00