Trait solana_local_cluster::cluster::Cluster [−][src]
Required methods
fn get_node_pubkeys(&self) -> Vec<Pubkey>
[src]
fn get_validator_client(&self, pubkey: &Pubkey) -> Option<ThinClient>
[src]
fn get_contact_info(&self, pubkey: &Pubkey) -> Option<&ContactInfo>
[src]
fn exit_node(&mut self, pubkey: &Pubkey) -> ClusterValidatorInfo
[src]
fn restart_node(
&mut self,
pubkey: &Pubkey,
cluster_validator_info: ClusterValidatorInfo
)
[src]
&mut self,
pubkey: &Pubkey,
cluster_validator_info: ClusterValidatorInfo
)
fn create_restart_context(
&mut self,
pubkey: &Pubkey,
cluster_validator_info: &mut ClusterValidatorInfo
) -> (Node, Option<ContactInfo>)
[src]
&mut self,
pubkey: &Pubkey,
cluster_validator_info: &mut ClusterValidatorInfo
) -> (Node, Option<ContactInfo>)
fn restart_node_with_context(
cluster_validator_info: ClusterValidatorInfo,
restart_context: (Node, Option<ContactInfo>)
) -> ClusterValidatorInfo
[src]
cluster_validator_info: ClusterValidatorInfo,
restart_context: (Node, Option<ContactInfo>)
) -> ClusterValidatorInfo
fn add_node(
&mut self,
pubkey: &Pubkey,
cluster_validator_info: ClusterValidatorInfo
)
[src]
&mut self,
pubkey: &Pubkey,
cluster_validator_info: ClusterValidatorInfo
)
fn exit_restart_node(&mut self, pubkey: &Pubkey, config: ValidatorConfig)
[src]
Implementors
impl Cluster for LocalCluster
[src]
fn get_node_pubkeys(&self) -> Vec<Pubkey>
[src]
fn get_validator_client(&self, pubkey: &Pubkey) -> Option<ThinClient>
[src]
fn exit_node(&mut self, pubkey: &Pubkey) -> ClusterValidatorInfo
[src]
fn create_restart_context(
&mut self,
pubkey: &Pubkey,
cluster_validator_info: &mut ClusterValidatorInfo
) -> (Node, Option<ContactInfo>)
[src]
&mut self,
pubkey: &Pubkey,
cluster_validator_info: &mut ClusterValidatorInfo
) -> (Node, Option<ContactInfo>)
fn restart_node(
&mut self,
pubkey: &Pubkey,
cluster_validator_info: ClusterValidatorInfo
)
[src]
&mut self,
pubkey: &Pubkey,
cluster_validator_info: ClusterValidatorInfo
)
fn add_node(
&mut self,
pubkey: &Pubkey,
cluster_validator_info: ClusterValidatorInfo
)
[src]
&mut self,
pubkey: &Pubkey,
cluster_validator_info: ClusterValidatorInfo
)
fn restart_node_with_context(
cluster_validator_info: ClusterValidatorInfo,
(node, entry_point_info): (Node, Option<ContactInfo>)
) -> ClusterValidatorInfo
[src]
cluster_validator_info: ClusterValidatorInfo,
(node, entry_point_info): (Node, Option<ContactInfo>)
) -> ClusterValidatorInfo
fn exit_restart_node(
&mut self,
pubkey: &Pubkey,
validator_config: ValidatorConfig
)
[src]
&mut self,
pubkey: &Pubkey,
validator_config: ValidatorConfig
)