pub struct ProcessOptions {Show 17 fields
pub poh_verify: bool,
pub full_leader_cache: bool,
pub halt_at_slot: Option<Slot>,
pub entry_callback: Option<ProcessCallback>,
pub new_hard_forks: Option<Vec<Slot>>,
pub debug_keys: Option<Arc<HashSet<Pubkey>>>,
pub account_indexes: AccountSecondaryIndexes,
pub limit_load_slot_count_from_snapshot: Option<usize>,
pub allow_dead_slots: bool,
pub accounts_db_test_hash_calculation: bool,
pub accounts_db_skip_shrink: bool,
pub accounts_db_config: Option<AccountsDbConfig>,
pub verify_index: bool,
pub shrink_ratio: AccountShrinkThreshold,
pub runtime_config: RuntimeConfig,
pub on_halt_store_hash_raw_data_for_debug: bool,
pub run_final_accounts_hash_calc: bool,
}Fields§
§poh_verify: bool§full_leader_cache: bool§halt_at_slot: Option<Slot>§entry_callback: Option<ProcessCallback>§new_hard_forks: Option<Vec<Slot>>§debug_keys: Option<Arc<HashSet<Pubkey>>>§account_indexes: AccountSecondaryIndexes§limit_load_slot_count_from_snapshot: Option<usize>§allow_dead_slots: bool§accounts_db_test_hash_calculation: bool§accounts_db_skip_shrink: bool§accounts_db_config: Option<AccountsDbConfig>§verify_index: bool§shrink_ratio: AccountShrinkThreshold§runtime_config: RuntimeConfig§on_halt_store_hash_raw_data_for_debug: bool§run_final_accounts_hash_calc: booltrue if after processing the contents of the blockstore at startup, we should run an accounts hash calc This is useful for debugging.
Trait Implementations§
source§impl Clone for ProcessOptions
impl Clone for ProcessOptions
source§fn clone(&self) -> ProcessOptions
fn clone(&self) -> ProcessOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for ProcessOptions
impl Default for ProcessOptions
source§fn default() -> ProcessOptions
fn default() -> ProcessOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ProcessOptions
impl Send for ProcessOptions
impl Sync for ProcessOptions
impl Unpin for ProcessOptions
impl !UnwindSafe for ProcessOptions
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request