Skip to content

Commit

Permalink
validator: include waited_for_supermajority in startup metric
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinSekar committed Feb 7, 2024
1 parent 3ddd235 commit 878a2ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,8 @@ impl Validator {
("id", id.to_string(), String),
("version", solana_version::version!(), String),
("cluster_type", genesis_config.cluster_type as u32, i64),
("waited_for_supermajority", waited_for_supermajority, bool),
("expected_shred_version", config.expected_shred_version, Option<i64>),
);

*start_progress.write().unwrap() = ValidatorStartProgress::Running;
Expand Down

0 comments on commit 878a2ce

Please sign in to comment.