This website requires JavaScript.
Explore
Help
Sign In
waku-org
/
nwaku
mirror of
https://github.com/waku-org/nwaku.git
Watch
1
Star
0
Fork
You've already forked nwaku
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
ed45314d5a
nwaku
/
waku
/
waku_peer_exchange.nim
6 lines
87 B
Nim
Raw
Normal View
History
Unescape
Escape
chore: remove all pre-nim-1.6 deadcode from codebase (#2857)
2024-06-28 10:34:57 +00:00
{.
push
raises
:
[
]
.
}
feat: waku peer exchange (RFC34) (#1152)
2022-09-20 11:03:34 +00:00
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 13:58:07 +00:00
import
.
/
waku_peer_exchange
/
[
protocol
,
rpc
]
refactor(protocols): decouple protocol rpc types from api types
2022-11-16 19:02:38 +00:00
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 13:58:07 +00:00
export
protocol
,
rpc