[][src]Struct exocore_chain::engine::PendingSyncConfig

pub struct PendingSyncConfig {
    pub max_operations_per_range: u32,
    pub request_tracker_config: RequestTrackerConfig,
    pub operations_depth_after_cleanup: BlockHeight,
}

Pending synchronizer configuration

Fields

max_operations_per_range: u32request_tracker_config: RequestTrackerConfigoperations_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

impl Clone for PendingSyncConfig[src]

impl Copy for PendingSyncConfig[src]

impl Debug for PendingSyncConfig[src]

impl Default for PendingSyncConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,