Function solana_gossip::gossip_service::get_client
source · [−]pub fn get_client(
nodes: &[ContactInfo],
socket_addr_space: &SocketAddrSpace,
connection_cache: Arc<ConnectionCache>
) -> ThinClient
Expand description
Creates a ThinClient by selecting a valid node at random