Move block-time caching earlier (#17109) (#17150)

* 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

(cherry picked from commit 6e9deaf1bd)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
mergify[bot]
2021-05-10 20:31:56 +00:00
committed by GitHub
parent 094271be7d
commit 0cf83887c6
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,
)
}