pub(crate) async fn add_nodes(&mut self, rng: &mut TestRng, count: usize) -> Vec<R::NodeId> {
        let mut node_ids = vec![];
        for _ in 0..count {
            let (node_id, _runner) = self.add_node(rng).await.unwrap();
            node_ids.push(node_id);
        }
        node_ids
    }
/// Adds `count` new nodes to the network, and returns their IDs.
Adds `count` new nodes to the network, and returns their IDs.
Adds ` count ` new nodes to the network and returns their IDs .
pub(crate) async fn add_nodes(&mut self, rng: &mut TestRng, count: usize) -> Vec<R::NodeId> {
        let mut node_ids = vec![];
        for _ in 0..count {
            let (node_id, _runner) = self.add_node(rng).await.unwrap();
            node_ids.push(node_id);
        }
        node_ids
    }
pub ( crate ) async fn add_nodes ( & mut self , rng : & mut TestRng , count : usize ) -> Vec < R :: NodeId > { let mut node_ids = vec ! [ ] ; for _ in 0 .. count { let ( node_id , _runner ) = self . add_node ( rng ) . await . unwrap ( ) ; node_ids . push ( node_id ) ; } node_ids }
Adds `count` new nodes to the network, and returns their IDs.
Adds ` count ` new nodes to the network and returns their IDs .
&mut self
rng
&mut TestRng
count
usize
&mut self
rng
&mut TestRng
count
usize