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 (const: unstable) · 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.