datapoint for best fork weight and slot in replay (#7066)
This commit is contained in:
parent
100b9dd12a
commit
e66b29943b
@ -904,6 +904,11 @@ impl ReplayStage {
|
||||
if child_stats.is_locked_out || !child_stats.vote_threshold {
|
||||
continue;
|
||||
}
|
||||
datapoint_info!(
|
||||
"replay_stage-pick_best_fork",
|
||||
("slot", best_bank.slot(), i64),
|
||||
("weight", child_stats.weight, f64),
|
||||
);
|
||||
inc_new_counter_info!("replay_stage-pick_best_fork-child", 1);
|
||||
debug!("best bank found child: {}", child_stats.slot);
|
||||
vote = Some(((*child).clone(), child_stats.total_staked));
|
||||
|
Loading…
x
Reference in New Issue
Block a user