Record parent slot to reconstruct fork tree from influxdb (#18482)

This commit is contained in:
Ryo Onodera
2021-07-08 00:56:38 +09:00
committed by GitHub
parent a86ced0bac
commit d69f469b83

View File

@ -1229,7 +1229,8 @@ impl Bank {
datapoint_info!(
"bank-new_from_parent-heights",
("slot_height", slot, i64),
("block_height", new.block_height, i64)
("block_height", new.block_height, i64),
("parent_slot_height", parent.slot(), i64),
);
let mut ancestors = Vec::with_capacity(1 + new.parents().len());