pub struct ProcessOptions {Show 18 fields
pub run_verification: bool,
pub full_leader_cache: bool,
pub halt_at_slot: Option<Slot>,
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_force_initial_clean: 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,
pub use_snapshot_archives_at_startup: UseSnapshotArchivesAtStartup,
}
Fields§
§run_verification: bool
Run PoH, transaction signature and other transaction verifications on the entries.
full_leader_cache: bool
§halt_at_slot: Option<Slot>
§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_force_initial_clean: 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: bool
true if after processing the contents of the blockstore at startup, we should run an accounts hash calc This is useful for debugging.
use_snapshot_archives_at_startup: UseSnapshotArchivesAtStartup
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 Freeze for ProcessOptions
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§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