pub async fn discover_new_nodes(
        &self,
        _max_parallel_req: usize,
        _target_new_discovered: usize,
    ) -> Result<Vec<NodeInfo>, NodeError> {
        // TODO: run NodeClient::get_peers_all() in paralellel on known nodes
        // TODO: run NodeClient::get_info() for every new discovered node to confirm that it serves REST API
        todo!()
    }
/// Ask known nodes for new nodes until `target_new_discovered` new nodes are discovered
/// or until we run out of nodes to ask
/// Adds new nodes to the internal list of known nodes and returns them
Ask known nodes for new nodes until `target_new_discovered` new nodes are discovered
or until we run out of nodes to ask
Adds new nodes to the internal list of known nodes and returns them
Ask known nodes for new nodes until ` target_new_discovered ` new nodes are discovered or until we run out of nodes to ask Adds new nodes to the internal list of known nodes and returns them
pub async fn discover_new_nodes(
        &self,
        _max_parallel_req: usize,
        _target_new_discovered: usize,
    ) -> Result<Vec<NodeInfo>, NodeError> {
        // TODO: run NodeClient::get_peers_all() in paralellel on known nodes
        // TODO: run NodeClient::get_info() for every new discovered node to confirm that it serves REST API
        todo!()
    }
pub async fn discover_new_nodes ( & self , _max_parallel_req : usize , _target_new_discovered : usize , ) -> Result < Vec < NodeInfo > , NodeError > { // TODO: run NodeClient::get_peers_all() in paralellel on known nodes // TODO: run NodeClient::get_info() for every new discovered node to confirm that it serves REST API todo ! ( ) }
Ask known nodes for new nodes until `target_new_discovered` new nodes are discovered
or until we run out of nodes to ask
Adds new nodes to the internal list of known nodes and returns them
Ask known nodes for new nodes until ` target_new_discovered ` new nodes are discovered or until we run out of nodes to ask Adds new nodes to the internal list of known nodes and returns them
&self
_max_parallel_req
usize
_target_new_discovered
usize
&self
_max_parallel_req
usize
_target_new_discovered
usize