nwaku/tests
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
..
common chore: rate limit peer exchange protocol, enhanced response status in RPC (#3035) 2024-09-18 15:58:07 +02:00
factory chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
incentivization chore: adding lint job to the CI (#2925) 2024-07-23 13:57:24 +03:00
node chore: rate limit peer exchange protocol, enhanced response status in RPC (#3035) 2024-09-18 15:58:07 +02:00
resources Generic re-style with nph 0.5.1 (#2396) 2024-03-16 00:08:47 +01:00
testlib chore: use submodule nph in CI to check lint (#3027) 2024-09-11 11:51:42 +10:00
waku_archive chore: Optimize hash queries with lookup table (#2933) 2024-08-08 21:46:08 +02:00
waku_archive_legacy chore: Optimize hash queries with lookup table (#2933) 2024-08-08 21:46:08 +02:00
waku_core chore: deprecating pubsub topic (#2997) 2024-09-10 15:07:12 -06:00
waku_discv5 chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
waku_enr chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
waku_filter_v2 chore: rate limit peer exchange protocol, enhanced response status in RPC (#3035) 2024-09-18 15:58:07 +02:00
waku_keystore test(rln): Implement rln tests (#2639) 2024-08-02 16:43:22 +02:00
waku_lightpush feat: DOS protection of non relay protocols - rate limit phase3 (#2897) 2024-07-16 15:46:21 +02:00
waku_peer_exchange chore: rate limit peer exchange protocol, enhanced response status in RPC (#3035) 2024-09-18 15:58:07 +02:00
waku_relay chore: deprecating pubsub topic (#2997) 2024-09-10 15:07:12 -06:00
waku_rln_relay test: avoid too verbose rln test (#3029) 2024-09-11 10:22:00 +02:00
waku_store feat: store resume (#2919) 2024-07-30 07:23:39 -04:00
waku_store_legacy chore: Better timing and requestId detail for slower store db queries (#2994) 2024-08-29 22:56:14 +02:00
waku_sync feat: Nwaku Sync (#2403) 2024-08-13 07:27:34 -04:00
wakunode2 fix: setting up node with modified config (#3036) 2024-09-16 16:30:38 +03:00
wakunode_rest chore: use submodule nph in CI to check lint (#3027) 2024-09-11 11:51:42 +10:00
all_tests_common.nim feat(coverage): Add simple coverage (#2067) 2023-09-27 15:53:23 +02:00
all_tests_waku.nim chore: Simplification of store legacy code (#2931) 2024-07-30 14:05:23 +02:00
all_tests_wakunode2.nim feat(coverage): Add simple coverage (#2067) 2023-09-27 15:53:23 +02:00
nim.cfg chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
postgres-docker-compose.yml feat: Postgres partition implementation (#2506) 2024-03-06 20:50:22 +01:00
test_all.nim Generic re-style with nph 0.5.1 (#2396) 2024-03-16 00:08:47 +01:00
test_helpers.nim Generic re-style with nph 0.5.1 (#2396) 2024-03-16 00:08:47 +01:00
test_message_cache.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_peer_manager.nim chore: deprecating pubsub topic (#2997) 2024-09-10 15:07:12 -06:00
test_peer_storage.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_peer_store_extended.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_relay_peer_exchange.nim chore: deprecating pubsub topic (#2997) 2024-09-10 15:07:12 -06:00
test_utils_compat.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_waku_dnsdisc.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_waku_enr.nim chore: deprecating pubsub topic (#2997) 2024-09-10 15:07:12 -06:00
test_waku_keepalive.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_waku_keystore.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_waku_keystore_keyfile.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_waku_metadata.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_waku_netconfig.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_waku_noise.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_waku_noise_sessions.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_waku_protobufs.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_waku_rendezvous.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_waku_switch.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00
test_wakunode.nim chore: deprecating pubsub topic (#2997) 2024-09-10 15:07:12 -06:00
test_wakunode_lightpush.nim chore: deprecating pubsub topic (#2997) 2024-09-10 15:07:12 -06:00