grin/p2p/src
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
..
codec.rs Refactor p2p reader (#3433) 2020-09-28 14:43:37 +01:00
conn.rs Refactor p2p reader (#3433) 2020-09-28 14:43:37 +01:00
handshake.rs explicit read_timeout and write_timeout during hand/shake (#3249) 2020-02-27 07:49:38 +00:00
lib.rs Refactor p2p reader (#3433) 2020-09-28 14:43:37 +01:00
msg.rs Rename Floonet to Testnet (#3431) 2020-10-07 09:36:02 -04:00
peer.rs Introduce CommitOnly variant of Inputs (#3419) 2020-09-07 16:58:41 +01:00
peers.rs Flexible peer filtering (#3458) 2020-10-27 12:36:00 +00:00
protocol.rs Refactor p2p reader (#3433) 2020-09-28 14:43:37 +01:00
serv.rs Flexible peer filtering (#3458) 2020-10-27 12:36:00 +00:00
store.rs migrate blocks in batches (rework db iterator impl) (#3450) 2020-10-07 11:47:25 +01:00
types.rs Flexible peer filtering (#3458) 2020-10-27 12:36:00 +00:00