pub struct LivenessStatistics {
    pub total_rounds: u64,
    pub good_rounds: Vec<u64>,
    pub finalized_proposals: Vec<u64>,
    pub missed_proposals: Vec<u64>,
}Expand description
Per-epoch liveness statistics for nodes.
Fields§
§total_rounds: u64Total number of rounds in the last epoch, excluding any rounds generated by the roothash service itself.
good_rounds: Vec<u64>A list of counters, specified in committee order (e.g. counter at index i has the value for node i in the committee).
finalized_proposals: Vec<u64>A list that records the number of finalized rounds when a node acted as a proposed with the highest rank.
The list is ordered according to the committee arrangement (i.e., the counter at index i holds the value for the node at index i in the committee).
missed_proposals: Vec<u64>A list that records the number of failed rounds when a node/ acted as a proposer with the highest rank.
The list is ordered according to the committee arrangement (i.e., the counter at index i holds the value for the node at index i in the committee).
Trait Implementations§
Source§impl Clone for LivenessStatistics
 
impl Clone for LivenessStatistics
Source§fn clone(&self) -> LivenessStatistics
 
fn clone(&self) -> LivenessStatistics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LivenessStatistics
 
impl Debug for LivenessStatistics
Source§impl Decode for LivenessStatistics
 
impl Decode for LivenessStatistics
Source§fn try_default() -> Result<Self, DecodeError>
 
fn try_default() -> Result<Self, DecodeError>
Source§fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>
 
fn try_from_cbor_value(value: Value) -> Result<Self, DecodeError>
§fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>where
    Self: Sized,
 
fn try_from_cbor_value_default(value: Value) -> Result<Self, DecodeError>where
    Self: Sized,
try_default in case the value is null or
undefined.Source§impl Default for LivenessStatistics
 
impl Default for LivenessStatistics
Source§fn default() -> LivenessStatistics
 
fn default() -> LivenessStatistics
Source§impl Encode for LivenessStatistics
 
impl Encode for LivenessStatistics
Source§impl EncodeAsMap for LivenessStatistics
 
impl EncodeAsMap for LivenessStatistics
§fn into_cbor_value_map(self) -> Valuewhere
    Self: Sized,
 
fn into_cbor_value_map(self) -> Valuewhere
    Self: Sized,
§fn into_cbor_map(self) -> Vec<(Value, Value)>where
    Self: Sized,
 
fn into_cbor_map(self) -> Vec<(Value, Value)>where
    Self: Sized,
Source§impl PartialEq for LivenessStatistics
 
impl PartialEq for LivenessStatistics
impl Eq for LivenessStatistics
impl StructuralPartialEq for LivenessStatistics
Auto Trait Implementations§
impl Freeze for LivenessStatistics
impl RefUnwindSafe for LivenessStatistics
impl Send for LivenessStatistics
impl Sync for LivenessStatistics
impl Unpin for LivenessStatistics
impl UnwindSafe for LivenessStatistics
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.