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,
}
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
Auto Trait Implementations
impl RefUnwindSafe for CommitManagerConfig
impl Send for CommitManagerConfig
impl Sync for CommitManagerConfig
impl Unpin for CommitManagerConfig
impl UnwindSafe for CommitManagerConfig
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,
pub fn vzip(self) -> V
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