Add uptime column to show-validators (#7441) (#7445)

automerge
This commit is contained in:
mergify[bot]
2019-12-12 08:27:50 -08:00
committed by Grimes
parent 5e4fe9c67b
commit ebf644ddef
5 changed files with 157 additions and 80 deletions

View File

@ -97,6 +97,10 @@ pub struct RpcVoteAccountInfo {
/// Whether this account is staked for the current epoch
pub epoch_vote_account: bool,
/// History of how many credits earned by the end of each epoch
/// each tuple is (Epoch, credits, prev_credits)
pub epoch_credits: Vec<(Epoch, u64, u64)>,
/// Most recent slot voted on by this vote account (0 if no votes exist)
pub last_vote: u64,