Function solana_gossip::gossip_service::get_client

source ·
pub fn get_client(
    nodes: &[LegacyContactInfo],
    socket_addr_space: &SocketAddrSpace,
    connection_cache: Arc<ConnectionCache>
) -> ThinClient
👎Deprecated since 1.18.6: Interface will change
Expand description

Creates a ThinClient by selecting a valid node at random