mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 13:58:28 +00:00
Test the pruning of excess peers using randomly generated input (#3248)
## Issue Addressed https://github.com/sigp/lighthouse/issues/3092 ## Proposed Changes Added property-based tests for the pruning implementation. A randomly generated input for the test contains connection direction, subnets, and scores. ## Additional Info I left some comments on this PR, what I have tried, and [a question](https://github.com/sigp/lighthouse/pull/3248#discussion_r891981969). Co-authored-by: Diva M <divma@protonmail.com>
This commit is contained in:
@@ -52,6 +52,8 @@ slog-async = "2.5.0"
|
||||
tempfile = "3.1.0"
|
||||
exit-future = "0.2.0"
|
||||
void = "1"
|
||||
quickcheck = "0.9.2"
|
||||
quickcheck_macros = "0.9.1"
|
||||
|
||||
[features]
|
||||
libp2p-websocket = []
|
||||
|
||||
Reference in New Issue
Block a user