nwaku/tests/waku_peer_exchange
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 Generic re-style with nph 0.5.1 (#2396) 2024-03-16 00:08:47 +01:00
test_protocol.nim chore: rate limit peer exchange protocol, enhanced response status in RPC (#3035) 2024-09-18 15:58:07 +02:00
test_rpc_codec.nim chore: rate limit peer exchange protocol, enhanced response status in RPC (#3035) 2024-09-18 15:58:07 +02:00
utils.nim chore: refactor relative path to better absolute (#2861) 2024-07-06 00:03:38 +02:00