Struct solana_core::tvu::TvuConfig[][src]

pub struct TvuConfig {
    pub max_ledger_shreds: Option<u64>,
    pub shred_version: u16,
    pub halt_on_trusted_validators_accounts_hash_mismatch: bool,
    pub trusted_validators: Option<HashSet<Pubkey>>,
    pub repair_validators: Option<HashSet<Pubkey>>,
    pub accounts_hash_fault_injection_slots: u64,
    pub accounts_db_caching_enabled: bool,
    pub test_hash_calculation: bool,
    pub use_index_hash_calculation: bool,
    pub rocksdb_compaction_interval: Option<u64>,
    pub rocksdb_max_compaction_jitter: Option<u64>,
}

Fields

max_ledger_shreds: Option<u64>shred_version: u16halt_on_trusted_validators_accounts_hash_mismatch: booltrusted_validators: Option<HashSet<Pubkey>>repair_validators: Option<HashSet<Pubkey>>accounts_hash_fault_injection_slots: u64accounts_db_caching_enabled: booltest_hash_calculation: booluse_index_hash_calculation: boolrocksdb_compaction_interval: Option<u64>rocksdb_max_compaction_jitter: Option<u64>

Trait Implementations

impl Default for TvuConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for TvuConfig

impl Send for TvuConfig

impl Sync for TvuConfig

impl Unpin for TvuConfig

impl UnwindSafe for TvuConfig

Blanket Implementations

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

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

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

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]

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

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.

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.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]