solana_runtime

Module root_bank_cache

source
Expand description

A wrapper around a root Bank that only loads from bank forks if the root has been updated. This can be useful to avoid read-locking the bank forks until the root has been updated.

Structsยง

  • Cached root bank that only loads from bank forks if the root has been updated.