[][src]Struct tendermint::config::ConsensusConfig

pub struct ConsensusConfig {
    pub wal_file: PathBuf,
    pub timeout_propose: Timeout,
    pub timeout_propose_delta: Timeout,
    pub timeout_prevote: Timeout,
    pub timeout_prevote_delta: Timeout,
    pub timeout_precommit: Timeout,
    pub timeout_precommit_delta: Timeout,
    pub timeout_commit: Timeout,
    pub skip_timeout_commit: bool,
    pub create_empty_blocks: bool,
    pub create_empty_blocks_interval: Timeout,
    pub peer_gossip_sleep_duration: Timeout,
    pub peer_query_maj23_sleep_duration: Timeout,
}

consensus configuration options

Fields

wal_file: PathBuf

Path to WAL file

timeout_propose: Timeout

Propose timeout

timeout_propose_delta: Timeout

Propose timeout delta

timeout_prevote: Timeout

Prevote timeout

timeout_prevote_delta: Timeout

Prevote timeout delta

timeout_precommit: Timeout

Precommit timeout

timeout_precommit_delta: Timeout

Precommit timeout delta

timeout_commit: Timeout

Commit timeout

skip_timeout_commit: bool

Make progress as soon as we have all the precommits (as if TimeoutCommit = 0)

create_empty_blocks: bool

EmptyBlocks mode

create_empty_blocks_interval: Timeout

Interval between empty blocks

peer_gossip_sleep_duration: Timeout

Reactor sleep duration

peer_query_maj23_sleep_duration: Timeout

Reactor query sleep duration

Trait Implementations

impl Clone for ConsensusConfig[src]

impl Debug for ConsensusConfig[src]

impl Serialize for ConsensusConfig[src]

impl<'de> Deserialize<'de> for ConsensusConfig[src]

Auto Trait Implementations

Blanket Implementations

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

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

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Typeable for T where
    T: Any