Zebra/zebra-network/src
teor 6c787dd188
T1. Fix isolated connection bugs, improve tests, upgrade dependencies (#3302)
* Make handshakes generic over AsyncRead + AsyncWrite

* Simplify connect_isolated using ServiceExt::map_err and BoxError

* Move isolated network tests to their own module

* Improve isolated TCP connection tests

* Add an in-memory connection test that uses AsyncReadWrite

* Support connect_isolated on testnet

* Add a wrapper function for isolated TCP connections to an IP address

* Run test tasks for a while, and clean up after them

* Upgrade Zebra dependencies to be compatible with arti, but don't add arti yet

* Fix deny.toml

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
2022-01-14 19:34:59 +00:00
..
address_book Security: Limit address book size to limit memory usage (#3162) 2021-12-06 16:09:10 -03:00
config Use the default port for configured listen addresses with no port (#2043) 2021-04-21 23:14:29 +00:00
isolated T1. Fix isolated connection bugs, improve tests, upgrade dependencies (#3302) 2022-01-14 19:34:59 +00:00
meta_addr Stop ignoring some peers when updating the address book (#3292) 2022-01-05 18:12:59 -05:00
peer T1. Fix isolated connection bugs, improve tests, upgrade dependencies (#3302) 2022-01-14 19:34:59 +00:00
peer_set T1. Fix isolated connection bugs, improve tests, upgrade dependencies (#3302) 2022-01-14 19:34:59 +00:00
protocol Enforce Rust edition 2021 (#3332) 2022-01-14 12:10:18 +00:00
address_book.rs 1. Fix some address crawler timing issues (#3293) 2022-01-04 18:43:30 -05:00
address_book_updater.rs 1. Fix some address crawler timing issues (#3293) 2022-01-04 18:43:30 -05:00
config.rs Fix task handling bugs, so peers are more likely to be available (#3191) 2021-12-20 09:02:31 +10:00
constants.rs 1. Fix some address crawler timing issues (#3293) 2022-01-04 18:43:30 -05:00
isolated.rs T1. Fix isolated connection bugs, improve tests, upgrade dependencies (#3302) 2022-01-14 19:34:59 +00:00
lib.rs T1. Fix isolated connection bugs, improve tests, upgrade dependencies (#3302) 2022-01-14 19:34:59 +00:00
meta_addr.rs Stop ignoring some peers when updating the address book (#3292) 2022-01-05 18:12:59 -05:00
peer.rs Test for message broadcast to the right number of peers (#3284) 2021-12-31 00:26:50 +00:00
peer_set.rs Track the number of active inbound and outbound peer connections (#2912) 2021-10-21 21:36:42 +00:00
policies.rs Fix syncer download order and add sync tests (#3168) 2022-01-11 14:11:35 -03:00
protocol.rs Refactor protocol into internal, external modules. 2019-11-27 05:06:01 -05:00