pub(crate) fn create_node_local<REv>(
        &self,
        event_queue: EventQueueHandle<REv>,
        rng: &mut TestRng,
    ) -> InMemoryNetwork<P>
    where
        REv: From<NetworkAnnouncement<NodeId, P>> + Send,
    {
        InMemoryNetwork::new_with_data(event_queue, NodeId::random(rng), self.nodes.clone())
    }
/// Creates a new networking node with a random node ID.
///
/// Returns the already connected new networking component for new node.
Creates a new networking node with a random node ID.
Returns the already connected new networking component for new node.
Creates a new networking node with a random node ID . Returns the already connected new networking component for new node .
pub(crate) fn create_node_local<REv>(
        &self,
        event_queue: EventQueueHandle<REv>,
        rng: &mut TestRng,
    ) -> InMemoryNetwork<P>
    where
        REv: From<NetworkAnnouncement<NodeId, P>> + Send,
    {
        InMemoryNetwork::new_with_data(event_queue, NodeId::random(rng), self.nodes.clone())
    }
pub ( crate ) fn create_node_local < REv > ( & self , event_queue : EventQueueHandle < REv > , rng : & mut TestRng , ) -> InMemoryNetwork < P > where REv : From < NetworkAnnouncement < NodeId , P > > + Send , { InMemoryNetwork :: new_with_data ( event_queue , NodeId :: random ( rng ) , self . nodes . clone ( ) ) }
Creates a new networking node with a random node ID.
Creates a new networking node with a random node ID .
&self
event_queue
EventQueueHandle<REv>
rng
&mut TestRng
&self
event_queue
EventQueueHandle<REv>
rng
&mut TestRng