status-go/node
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
..
get_status_node.go Add example to demonstrate Whisper-Waku bridge (#1875) 2020-02-26 20:36:25 +01:00
geth_node.go Implement rate limiting by bytes 2020-06-15 19:46:23 +02:00
geth_node_api_test.go Integrate Whisper-Waku bridge in status-go (#1854) 2020-02-18 12:21:01 +01:00
geth_node_test.go Nimbus node support 2020-01-20 13:15:17 +01:00
geth_status_node_test.go pending-stickers field added to settings, unit-tests fixed (#1830) 2020-02-13 13:48:04 +02:00
nimbus_node.go Nimbus node support 2020-01-20 13:15:17 +01:00
nimbus_status_node.go Prevent starting node without APIModules (#1876) 2020-02-26 20:35:47 +01:00
status_node_rpc_client_test.go Upgrade geth to 1.9.5 and Whisper (#1617) 2019-10-04 17:21:24 +02:00