Struct solana_local_cluster::local_cluster::ClusterConfig [−][src]
Fields
validator_configs: Vec<ValidatorConfig>
The validator config that should be applied to every node in the cluster
num_listeners: u64
Number of nodes that are unstaked and not voting (a.k.a listening)
validator_keys: Option<Vec<(Arc<Keypair>, bool)>>
List of tuples (pubkeys, in_genesis) of each node if specified. If
in_genesis
== true, the validator’s vote and stake accounts
node_stakes: Vec<u64>
The stakes of each node
cluster_lamports: u64
The total lamports available to the cluster
ticks_per_slot: u64
slots_per_epoch: u64
stakers_slot_offset: u64
skip_warmup_slots: bool
native_instruction_processors: Vec<(String, Pubkey)>
cluster_type: ClusterType
poh_config: PohConfig
additional_accounts: Vec<(Pubkey, Account)>
Trait Implementations
impl Clone for ClusterConfig
[src][+]
impl Debug for ClusterConfig
[src][+]
impl Default for ClusterConfig
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for ClusterConfig
impl Send for ClusterConfig
impl Sync for ClusterConfig
impl Unpin for ClusterConfig
impl UnwindSafe for ClusterConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Typeable for T where
T: Any,
[+]
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,