* Add snapshotting integration test * Update ContactInfo on restart in local cluster nodes
10 lines
334 B
Rust
10 lines
334 B
Rust
use crate::validator::ValidatorConfig;
|
|
use solana_client::thin_client::ThinClient;
|
|
use solana_sdk::pubkey::Pubkey;
|
|
|
|
pub trait Cluster {
|
|
fn get_node_pubkeys(&self) -> Vec<Pubkey>;
|
|
fn get_validator_client(&self, pubkey: &Pubkey) -> Option<ThinClient>;
|
|
fn restart_node(&mut self, pubkey: Pubkey, config: &ValidatorConfig);
|
|
}
|