pub struct RoundConfig {
pub propose_after: u64,
pub resign_after: Option<u64>,
}Expand description
The round’s options.
Fields§
§propose_after: u64Seconds without a block before the next signer in the ring may
propose (--propose-after, upstream default 30).
resign_after: Option<u64>After how many seconds a signed-but-unsealed height may be signed
again for another proposal (strictly more than this many, to the
millisecond). Some(propose_after) is upstream’s rule; None never
re-signs.
Implementations§
Trait Implementations§
Source§impl Clone for RoundConfig
impl Clone for RoundConfig
Source§impl Debug for RoundConfig
impl Debug for RoundConfig
Source§impl Default for RoundConfig
impl Default for RoundConfig
impl Eq for RoundConfig
Source§impl PartialEq for RoundConfig
impl PartialEq for RoundConfig
impl StructuralPartialEq for RoundConfig
Auto Trait Implementations§
impl Freeze for RoundConfig
impl RefUnwindSafe for RoundConfig
impl Send for RoundConfig
impl Sync for RoundConfig
impl Unpin for RoundConfig
impl UnsafeUnpin for RoundConfig
impl UnwindSafe for RoundConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.