async fn connect_lower(
my_index: usize,
addresses: &[String],
) -> Result<(Epoch, Vec<Stream>), CreateSocketsError>
Expand description
Connect to peers with indexes less than my_index
.
Returns a list of connections ordered by peer index, as well as the epoch of the current generation on success, or an error if the protocol has failed and must be restarted.