Zebra/zebra-network/src
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
..
peer Clean up options in network config section. (#839) 2020-08-06 11:29:00 -07:00
peer_set zebra-network tweaks. (#877) 2020-08-11 13:07:44 -07:00
protocol refactor: Move NetworkUpgrade to zebra-chain 2020-08-10 18:54:42 +10:00
address_book.rs zebra-network tweaks. (#877) 2020-08-11 13:07:44 -07:00
config.rs Clean up options in network config section. (#839) 2020-08-06 11:29:00 -07:00
constants.rs refactor: Move NetworkUpgrade to zebra-chain 2020-08-10 18:54:42 +10:00
lib.rs network: do not export Builder 2020-07-28 11:10:15 -07:00
meta_addr.rs cleanup warnings throughout codebase 2020-05-27 15:42:29 -04:00
peer.rs Move server.rs to connection.rs and change imports. 2020-01-16 13:20:03 -05:00
peer_set.rs Move PeerSet initialization into a submodule. 2019-11-27 05:06:01 -05:00
policies.rs fmt 2020-02-21 06:48:25 -05:00
protocol.rs Refactor protocol into internal, external modules. 2019-11-27 05:06:01 -05:00
timestamp_collector.rs Upgrade tokio, futures, hyper to released versions. 2019-12-13 17:42:15 -05:00