Zebra/zebra-network/src/peer
Henry de Valence 8000f888fd Connect to multiple peers concurrently.
The previous outbound peer connection logic got requests to connect to new
peers and processed them one at a time, making single connection attempts
and retrying if the connection attempt failed.  This was quite slow, because
many connections fail, and we have to wait for timeouts.  Instead, this logic
connects to new peers concurrently (up to 50 at a time).
2020-02-14 18:23:41 -05:00
..
client.rs Apply clippy fixes 2020-02-05 12:42:32 -08:00
connection.rs Add a FindBlocks request to get initial block hashes. 2020-02-14 18:23:41 -05:00
connector.rs Upgrade tokio, futures, hyper to released versions. 2019-12-13 17:42:15 -05:00
error.rs Add a FindBlocks request to get initial block hashes. 2020-02-14 18:23:41 -05:00
handshake.rs Connect to multiple peers concurrently. 2020-02-14 18:23:41 -05:00