Introduce slot dumping to ReplayStage (#18160)
This commit is contained in:
@ -90,6 +90,10 @@ impl BankForks {
|
||||
maybe_bank
|
||||
}
|
||||
|
||||
pub fn bank_hash(&self, slot: Slot) -> Option<Hash> {
|
||||
self.get(slot).map(|bank| bank.hash())
|
||||
}
|
||||
|
||||
pub fn root_bank(&self) -> Arc<Bank> {
|
||||
self[self.root()].clone()
|
||||
}
|
||||
|
Reference in New Issue
Block a user