pub trait CheckConnection: Send + Sync {
// Required methods
fn check_connection(
&self,
ourself: &AuthorityName,
authority: &AuthorityName,
) -> Option<ConnectionStatus>;
fn update_mapping_for_epoch(
&self,
authority_names_to_peer_ids: HashMap<AuthorityName, PeerId>,
);
}