Zebra/zebra-network/src/peer_set
Henry de Valence 299afe13df
zebra-network tweaks. (#877)
* network: move gossiped peer selection logic into address book.

* network: return BoxService from init.

* zebrad: add note on why we truncate thegossiped peer list

Co-authored-by: Jane Lusby <jlusby42@gmail.com>

* Remove unused .rustfmt.toml

Many of these options are never actually loaded by our CI because of a channel
mismatch, where they're not applied on stable but only on nightly (see the logs
from a rustfmt job).  This means that we can get different settings when
running `cargo fmt` on the nightly and stable channels, which was causing a CI
failure on this PR.  Reverting back to the default rustfmt settings avoids this
problem and keeps us in line with upstream rustfmt.  There's no loss to us
since we were using the defaults anyways.

Co-authored-by: Jane Lusby <jlusby42@gmail.com>
2020-08-11 13:07:44 -07:00
..
candidate_set.rs cleanup warnings throughout codebase 2020-05-27 15:42:29 -04:00
initialize.rs zebra-network tweaks. (#877) 2020-08-11 13:07:44 -07:00
set.rs don't require absense of cancel handles 2020-06-16 13:42:31 -07:00
unready_service.rs Upgrade tokio, futures, hyper to released versions. 2019-12-13 17:42:15 -05:00