pub trait Validator: Node {
// Provided methods
fn check_connectivity(&self, expected_peers: usize) -> Result<bool> { ... }
fn wait_for_connectivity(
&self,
expected_peers: usize,
deadline: Instant
) -> Result<()> { ... }
}
Expand description
Trait used to represent a running Validator