Skip to content
Unverified Commit 993e2e46 authored by Pierre Krieger's avatar Pierre Krieger Committed by GitHub
Browse files

Peerset cleanup (#6078)



* Move methods from Peerset to peers structs

* Remove priority_only from peersstate

* Refactor PSM

* Don't test private fields

* Update sc_network

* Remove wrong comment

* Also fix small stupidity when setting reserved_only

* Put back priority_group

* Restore priority groups as before

* Apply suggestions from code review

Co-authored-by: default avatarAndré Silva <[email protected]>

* Do the reserved only change

* Update client/peerset/src/lib.rs

Co-authored-by: default avatarArkadiy Paronyan <[email protected]>

* Use HashSet::difference

Co-authored-by: default avatarAndré Silva <[email protected]>
Co-authored-by: default avatarArkadiy Paronyan <[email protected]>
parent 2d39ec2c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment