nwaku/tests/common
NagyZoltanPeter 0a7f16a332
chore: rate limit peer exchange protocol, enhanced response status in RPC (#3035)
* Enhanced peer-ex protocol - added rate limiting, added response status and desc to the rpc

* Better error result handling for PeerEx request, adjusted tests

* Refactored RateLimit configuration option for better CLI UX - now possible to set separate limits per protocol. Adjusted mountings. Added and adjusted tests

* Fix libwaku due to changes of error return type of fetchPeerExchangePeers

* Fix rate limit setting tests due to changed defaults

* Introduce new gauge to help dasboard effectively show current rate limit applied for protocol

* Adjust timeing in filter rate limit test to let macos CI test run ok.

* Address review findings, namings, error logs, removed left-overs

* Changes to reflect latest spec agreement and changes. PeerExchange RPC is changed the now respond structure will contain status_code and status_desc.
2024-09-18 15:58:07 +02:00
..
test_all.nim chore: rate limit peer exchange protocol, enhanced response status in RPC (#3035) 2024-09-18 15:58:07 +02:00
test_base64_codec.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_confutils_envvar.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_enr_builder.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_envvar_serialization.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_parse_size.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_protobuf_validation.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_ratelimit_setting.nim chore: rate limit peer exchange protocol, enhanced response status in RPC (#3035) 2024-09-18 15:58:07 +02:00
test_requestratelimiter.nim chore: rate limit peer exchange protocol, enhanced response status in RPC (#3035) 2024-09-18 15:58:07 +02:00
test_sqlite_migrations.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_timed_map.nim feat: DOS protection of non relay protocols - rate limit phase3 (#2897) 2024-07-16 15:46:21 +02:00
test_tokenbucket.nim feat: DOS protection of non relay protocols - rate limit phase3 (#2897) 2024-07-16 15:46:21 +02:00