grin/api/src/handlers
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
..
blocks_api.rs Simplify api commits (#3423) 2020-08-17 13:19:29 -04:00
chain_api.rs Refactor Output Identifiers (#3371) 2020-09-03 10:59:54 +01:00
peers_api.rs Flexible peer filtering (#3458) 2020-10-27 12:36:00 +00:00
pool_api.rs Use generic types instead of trait objects in tx pool (#3308) 2020-04-30 17:41:49 +02:00
server_api.rs Flexible peer filtering (#3458) 2020-10-27 12:36:00 +00:00
transactions_api.rs pass ref to chain around (#3401) 2020-07-27 11:05:12 +01:00
utils.rs Simplify api commits (#3423) 2020-08-17 13:19:29 -04:00
version_api.rs Less cloning and additional pattern simplifications (#3223) 2020-02-12 19:35:33 +01:00