nwaku/library/waku_thread/inter_thread_communication/requests
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
..
protocols libwaku better params validation and a bit more clarity (#3005) 2024-08-29 22:57:23 +02:00
debug_node_request.nim chore: libwaku retrieve my enr and adapt golang example (#2987) 2024-08-22 12:01:14 +02:00
discovery_request.nim chore: rate limit peer exchange protocol, enhanced response status in RPC (#3035) 2024-09-18 15:58:07 +02:00
node_lifecycle_request.nim chore: Bump dependencies for v0.31.0 (#2885) 2024-07-09 13:14:28 +02:00
peer_manager_request.nim chore: libwaku - extending the library with peer_manager and peer_exchange features (#3026) 2024-09-11 10:13:54 +02:00