Struct exocore_chain::engine::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,
}
Expand description

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more