pub struct StageConfig {Show 13 fields
pub era: EraConfig,
pub headers: HeadersConfig,
pub bodies: BodiesConfig,
pub sender_recovery: SenderRecoveryConfig,
pub execution: ExecutionConfig,
pub prune: PruneStageConfig,
pub account_hashing: HashingConfig,
pub storage_hashing: HashingConfig,
pub merkle: MerkleConfig,
pub transaction_lookup: TransactionLookupConfig,
pub index_account_history: IndexHistoryConfig,
pub index_storage_history: IndexHistoryConfig,
pub etl: EtlConfig,
}Expand description
Configuration for each stage in the pipeline.
Fields§
§era: EraConfigERA stage configuration.
headers: HeadersConfigHeader stage configuration.
bodies: BodiesConfigBody stage configuration.
sender_recovery: SenderRecoveryConfigSender Recovery stage configuration.
execution: ExecutionConfigExecution stage configuration.
prune: PruneStageConfigPrune stage configuration.
account_hashing: HashingConfigAccount Hashing stage configuration.
storage_hashing: HashingConfigStorage Hashing stage configuration.
merkle: MerkleConfigMerkle stage configuration.
transaction_lookup: TransactionLookupConfigTransaction Lookup stage configuration.
index_account_history: IndexHistoryConfigIndex Account History stage configuration.
index_storage_history: IndexHistoryConfigIndex Storage History stage configuration.
etl: EtlConfigCommon ETL related configuration.
Implementations§
Source§impl StageConfig
impl StageConfig
Sourcepub fn execution_external_clean_threshold(&self) -> u64
pub fn execution_external_clean_threshold(&self) -> u64
The highest threshold (in number of blocks) for switching between incremental and full
calculations across MerkleStage, AccountHashingStage and StorageHashingStage. This is
required to figure out if can prune or not changesets on subsequent pipeline runs during
ExecutionStage
Trait Implementations§
Source§impl Clone for StageConfig
impl Clone for StageConfig
Source§impl Debug for StageConfig
impl Debug for StageConfig
Source§impl Default for StageConfig
impl Default for StageConfig
Source§impl<'de> Deserialize<'de> for StageConfigwhere
StageConfig: Default,
Available on crate feature serde only.
impl<'de> Deserialize<'de> for StageConfigwhere
StageConfig: Default,
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for StageConfig
Source§impl PartialEq for StageConfig
impl PartialEq for StageConfig
Source§impl Serialize for StageConfig
Available on crate feature serde only.
impl Serialize for StageConfig
serde only.impl StructuralPartialEq for StageConfig
Auto Trait Implementations§
impl Freeze for StageConfig
impl RefUnwindSafe for StageConfig
impl Send for StageConfig
impl Sync for StageConfig
impl Unpin for StageConfig
impl UnsafeUnpin for StageConfig
impl UnwindSafe for StageConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
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> ⓘ
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 moreimpl<T> MaybeDebug for Twhere
T: Debug,
impl<T> MaybeSerde for Twhere
T: Serialize + for<'de> Deserialize<'de>,
§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘwhere
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 416 bytes