Struct exocore_chain::engine::PendingSyncConfig [−][src]
pub struct PendingSyncConfig { pub max_operations_per_range: u32, pub request_tracker_config: RequestTrackerConfig, pub operations_depth_after_cleanup: BlockHeight, }
Expand description
Pending synchronizer configuration
Fields
max_operations_per_range: u32
request_tracker_config: RequestTrackerConfig
operations_depth_after_cleanup: BlockHeight
Related to CommitManagerConfig
.operations_cleanup_after_block_depth
.
This indicates how many blocks after the last cleaned up block we should
include by default when doing sync requests, so that we don’t
request for operations that may have been cleaned up on other nodes.
The CommitManager
does cleanup at interval, and sets the last block
that got cleaned in the SyncState
up from the PendingStore
because it was committed for more than CommitManagerConfig
.
operations_cleanup_after_block_depth
of depth.
This value is added to the SyncState
last cleanup block depth to make
sure we don’t ask or include operations that got cleaned up.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PendingSyncConfig
impl Send for PendingSyncConfig
impl Sync for PendingSyncConfig
impl Unpin for PendingSyncConfig
impl UnwindSafe for PendingSyncConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self