Add Metrics/Dashboards tracking block production (#9342) (#9380)

automerge
This commit is contained in:
mergify[bot]
2020-04-08 15:54:04 -07:00
committed by GitHub
parent 34893d2449
commit 7a0dcdd1a4
6 changed files with 903 additions and 667 deletions

View File

@@ -7,7 +7,7 @@ use std::{collections::HashMap, sync::Arc};
pub type NodeIdToVoteAccounts = HashMap<Pubkey, NodeVoteAccounts>;
pub type EpochAuthorizedVoters = HashMap<Pubkey, Pubkey>;
#[derive(Clone, Serialize, Deserialize, Default, PartialEq)]
#[derive(Clone, Serialize, Debug, Deserialize, Default, PartialEq)]
pub struct NodeVoteAccounts {
pub vote_accounts: Vec<Pubkey>,
pub total_stake: u64,