Struct snarkos_metrics::snapshots::NodeBlockStats [−][src]
pub struct NodeBlockStats {
pub height: u64,
pub mined: u64,
pub inbound_processing_time: f64,
pub commit_time: f64,
pub duplicates: u64,
pub duplicates_sync: u64,
pub orphans: u64,
}
Fields
height: u64
The current block height of the node.
mined: u64
The number of blocks the node has mined.
inbound_processing_time: f64
The average inbound block processing time (in seconds).
commit_time: f64
The average block verification and commit time (in seconds).
duplicates: u64
The number of duplicate blocks received.
duplicates_sync: u64
The number of duplicate sync blocks received.
orphans: u64
The number of orphan blocks received.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for NodeBlockStats
impl Send for NodeBlockStats
impl Sync for NodeBlockStats
impl Unpin for NodeBlockStats
impl UnwindSafe for NodeBlockStats
Blanket Implementations
Mutably borrows from an owned value. Read more