Function accept_higher

Source
async fn accept_higher(
    my_index: usize,
    my_epoch: Epoch,
    n_peers: usize,
    listener: &Listener,
) -> Result<Vec<Stream>, CreateSocketsError>
Expand description

Accept connections from peers with indexes greater than my_index.

Returns a list of connections ordered by peer index, starting with my_index + 1, or an error if the protocol has failed and must be restarted.