grin/p2p/tests
Antioch Peverell 25fcefada2
Flexible peer filtering (#3458)
* first pass at peers iter cleanup

* more flexible peer with diff lookups

* PeersIter with impl Iterator

* sync against outbound peers
reorder peers filters so expensive filters come later

* filter peers by capabilities during sync

* prefer outbound peers with high total difficulty

* with_difficulty now takes a fn to allow more flexible comparisons based on difficulty

* rename peers_iter() -> iter()
2020-10-27 12:36:00 +00:00
..
peer_addr.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
peer_handshake.rs Flexible peer filtering (#3458) 2020-10-27 12:36:00 +00:00
ser_deser.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00