Struct solana_core::validator::ValidatorConfig[][src]

pub struct ValidatorConfig {
Show fields pub dev_halt_at_slot: Option<Slot>, pub expected_genesis_hash: Option<Hash>, pub expected_bank_hash: Option<Hash>, pub expected_shred_version: Option<u16>, pub voting_disabled: bool, pub account_paths: Vec<PathBuf>, pub account_shrink_paths: Option<Vec<PathBuf>>, pub rpc_config: JsonRpcConfig, pub rpc_addrs: Option<(SocketAddr, SocketAddr)>, pub pubsub_config: PubSubConfig, pub snapshot_config: Option<SnapshotConfig>, pub max_ledger_shreds: Option<u64>, pub broadcast_stage_type: BroadcastStageType, pub enable_partition: Option<Arc<AtomicBool>>, pub enforce_ulimit_nofile: bool, pub fixed_leader_schedule: Option<FixedSchedule>, pub wait_for_supermajority: Option<Slot>, pub new_hard_forks: Option<Vec<Slot>>, pub trusted_validators: Option<HashSet<Pubkey>>, pub repair_validators: Option<HashSet<Pubkey>>, pub gossip_validators: Option<HashSet<Pubkey>>, pub halt_on_trusted_validators_accounts_hash_mismatch: bool, pub accounts_hash_fault_injection_slots: u64, pub frozen_accounts: Vec<Pubkey>, pub no_rocksdb_compaction: bool, pub rocksdb_compaction_interval: Option<u64>, pub rocksdb_max_compaction_jitter: Option<u64>, pub accounts_hash_interval_slots: u64, pub max_genesis_archive_unpacked_size: u64, pub wal_recovery_mode: Option<BlockstoreRecoveryMode>, pub poh_verify: bool, pub cuda: bool, pub require_tower: bool, pub tower_path: Option<PathBuf>, pub debug_keys: Option<Arc<HashSet<Pubkey>>>, pub contact_debug_interval: u64, pub contact_save_interval: u64, pub bpf_jit: bool, pub send_transaction_retry_ms: u64, pub send_transaction_leader_forward_count: u64, pub no_poh_speed_test: bool, pub poh_pinned_cpu_core: usize, pub poh_hashes_per_batch: u64, pub account_indexes: AccountSecondaryIndexes, pub accounts_db_caching_enabled: bool, pub warp_slot: Option<Slot>, pub accounts_db_test_hash_calculation: bool, pub accounts_db_use_index_hash_calculation: bool, pub tpu_coalesce_ms: u64, pub validator_exit: Arc<RwLock<ValidatorExit>>, pub no_wait_for_vote_to_start_leader: bool,
}

Fields

dev_halt_at_slot: Option<Slot>expected_genesis_hash: Option<Hash>expected_bank_hash: Option<Hash>expected_shred_version: Option<u16>voting_disabled: boolaccount_paths: Vec<PathBuf>account_shrink_paths: Option<Vec<PathBuf>>rpc_config: JsonRpcConfigrpc_addrs: Option<(SocketAddr, SocketAddr)>pubsub_config: PubSubConfigsnapshot_config: Option<SnapshotConfig>max_ledger_shreds: Option<u64>broadcast_stage_type: BroadcastStageTypeenable_partition: Option<Arc<AtomicBool>>enforce_ulimit_nofile: boolfixed_leader_schedule: Option<FixedSchedule>wait_for_supermajority: Option<Slot>new_hard_forks: Option<Vec<Slot>>trusted_validators: Option<HashSet<Pubkey>>repair_validators: Option<HashSet<Pubkey>>gossip_validators: Option<HashSet<Pubkey>>halt_on_trusted_validators_accounts_hash_mismatch: boolaccounts_hash_fault_injection_slots: u64frozen_accounts: Vec<Pubkey>no_rocksdb_compaction: boolrocksdb_compaction_interval: Option<u64>rocksdb_max_compaction_jitter: Option<u64>accounts_hash_interval_slots: u64max_genesis_archive_unpacked_size: u64wal_recovery_mode: Option<BlockstoreRecoveryMode>poh_verify: boolcuda: boolrequire_tower: booltower_path: Option<PathBuf>debug_keys: Option<Arc<HashSet<Pubkey>>>contact_debug_interval: u64contact_save_interval: u64bpf_jit: boolsend_transaction_retry_ms: u64send_transaction_leader_forward_count: u64no_poh_speed_test: boolpoh_pinned_cpu_core: usizepoh_hashes_per_batch: u64account_indexes: AccountSecondaryIndexesaccounts_db_caching_enabled: boolwarp_slot: Option<Slot>accounts_db_test_hash_calculation: boolaccounts_db_use_index_hash_calculation: booltpu_coalesce_ms: u64validator_exit: Arc<RwLock<ValidatorExit>>no_wait_for_vote_to_start_leader: bool

Trait Implementations

impl Debug for ValidatorConfig[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for ValidatorConfig[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> AbiExample for T[src]

pub default fn example() -> T[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

impl<T> Instrument for T[src]

fn instrument(self, span: Span) -> Instrumented<Self>[src]

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

fn in_current_span(self) -> Instrumented<Self>[src]

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> IntoRequest<T> for T[src]

pub fn into_request(self) -> Request<T>[src]

Wrap the input message T in a tonic::Request

impl<T> Pointable for T

pub const ALIGN: usize

The alignment of pointer.

type Init = T

The type for initializers.

pub unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more

pub unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more

pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more

pub unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> WithSubscriber for T[src]

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
[src]

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

fn with_current_subscriber(self) -> WithDispatch<Self>[src]

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more