Struct exocore_chain::CommitManagerConfig[][src]

pub struct CommitManagerConfig {
    pub operations_cleanup_after_block_depth: BlockHeight,
    pub commit_maximum_pending_store_count: usize,
    pub commit_maximum_interval: Duration,
    pub block_proposal_timeout: Duration,
}

CommitManager’s configuration

Fields

operations_cleanup_after_block_depth: BlockHeight

How deep a block need to be before we cleanup its operations from pending store

commit_maximum_pending_store_count: usize

After how many new operations in pending store do we force a commit, even if we aren’t past the commit interval

commit_maximum_interval: Duration

Interval at which commits are made, unless we hit commit_maximum_pending_count

block_proposal_timeout: Duration

For how long a block proposal is considered valid after its creation This is used to prevent

Trait Implementations

impl Clone for CommitManagerConfig[src]

impl Copy for CommitManagerConfig[src]

impl Debug for CommitManagerConfig[src]

impl Default for CommitManagerConfig[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: Any + Clone

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

impl<T> From<T> 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>,