Move block-time caching earlier (#17109)

* Require that blockstore block-time only be recognized slot, instead of root

* Move cache_block_time to after Bank freeze

* Single use statement

* Pass transaction_status_sender by reference

* Remove unnecessary slot-existence check before caching block time altogether

* Move block-time existence check into Blockstore::cache_block_time, Blockstore no longer needed in blockstore_processor helper
This commit is contained in:
Tyera Eulberg
2021-05-10 13:14:56 -06:00
committed by GitHub
parent f39dda00e0
commit 6e9deaf1bd
8 changed files with 116 additions and 97 deletions

View File

@@ -703,6 +703,7 @@ fn load_bank_forks(
snapshot_config.as_ref(),
process_options,
None,
None,
)
}