pub struct ProcessOptions {Show 19 fields
pub run_verification: bool,
pub full_leader_cache: bool,
pub halt_at_slot: Option<Slot>,
pub slot_callback: Option<ProcessSlotCallback>,
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: boolRun PoH, transaction signature and other transaction verifications on the entries.
full_leader_cache: bool§halt_at_slot: Option<Slot>§slot_callback: Option<ProcessSlotCallback>§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: booltrue 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: UseSnapshotArchivesAtStartupTrait 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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