Struct snarkos_metrics::snapshots::NodeMiscStats [−][src]
pub struct NodeMiscStats {
pub block_height: u64,
pub blocks_mined: u64,
pub block_processing_time: f64,
pub duplicate_blocks: u64,
pub duplicate_sync_blocks: u64,
pub orphan_blocks: u64,
pub rpc_requests: u64,
}
Fields
block_height: u64
The current block height of the node.
blocks_mined: u64
The number of blocks the node has mined.
block_processing_time: f64
The average block processing time (in seconds).
duplicate_blocks: u64
The number of duplicate blocks received.
duplicate_sync_blocks: u64
The number of duplicate sync blocks received.
orphan_blocks: u64
The number of orphan blocks received.
rpc_requests: u64
The number of RPC requests 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 NodeMiscStats
impl Send for NodeMiscStats
impl Sync for NodeMiscStats
impl Unpin for NodeMiscStats
impl UnwindSafe for NodeMiscStats
Blanket Implementations
Mutably borrows from an owned value. Read more