pub fn refresh_push_active_set(
        &self,
        self_pubkey: &Pubkey,
        self_shred_version: u16,
        stakes: &HashMap<Pubkey, u64>,
        gossip_validators: Option<&HashSet<Pubkey>>,
        socket_addr_space: &SocketAddrSpace,
    ) {
        let network_size = self.crds.read().unwrap().num_nodes();
        self.push.refresh_push_active_set(
            &self.crds,
            stakes,
            gossip_validators,
            self_pubkey,
            self_shred_version,
            network_size,
            CRDS_GOSSIP_NUM_ACTIVE,
            socket_addr_space,
        )
    }
/// Refresh the push active set.
Refresh the push active set.
Refresh the push active set .
pub fn refresh_push_active_set(
        &self,
        self_pubkey: &Pubkey,
        self_shred_version: u16,
        stakes: &HashMap<Pubkey, u64>,
        gossip_validators: Option<&HashSet<Pubkey>>,
        socket_addr_space: &SocketAddrSpace,
    ) {
        let network_size = self.crds.read().unwrap().num_nodes();
        self.push.refresh_push_active_set(
            &self.crds,
            stakes,
            gossip_validators,
            self_pubkey,
            self_shred_version,
            network_size,
            CRDS_GOSSIP_NUM_ACTIVE,
            socket_addr_space,
        )
    }
pub fn refresh_push_active_set ( & self , self_pubkey : & Pubkey , self_shred_version : u16 , stakes : & HashMap < Pubkey , u64 > , gossip_validators : Option < & HashSet < Pubkey > > , socket_addr_space : & SocketAddrSpace , ) { let network_size = self . crds . read ( ) . unwrap ( ) . num_nodes ( ) ; self . push . refresh_push_active_set ( & self . crds , stakes , gossip_validators , self_pubkey , self_shred_version , network_size , CRDS_GOSSIP_NUM_ACTIVE , socket_addr_space , ) }
Refresh the push active set.
Refresh the push active set .
&self
self_pubkey
&Pubkey
self_shred_version
u16
stakes
&HashMap<Pubkey, u64>
gossip_validators
Option<&HashSet<Pubkey>>
socket_addr_space
&SocketAddrSpace