solana/runtime/src
Yueh-Hsuan Chiang 9a620b4862
[TieredStorage] HotAccountMeta (2/N) (#32227)
#### Summary of Changes
This PR introduces HotAccountMeta, the storage and in-memory struct of
the metadata struct for a hot account.

#### Test Plan
Unit tests are included in this PR.
Tested in mnb w/ the prototype implementation of the tiered account storage (#30626)
2023-06-24 01:25:54 +08:00
..
account_storage Abstract out StoredAccountMeta as an Enum (#30478) 2023-03-09 15:52:51 -08:00
accounts_background_service
accounts_db Abstract out StoredAccountMeta as an Enum (#30478) 2023-03-09 15:52:51 -08:00
append_vec fixes errors from clippy::needless_borrow (#29535) 2023-01-05 18:21:56 +00:00
bank Add epoch_rewards to sysvar cache (#32155) 2023-06-20 15:01:34 -05:00
epoch_accounts_hash
serde_snapshot rename to stake_rewards_by_partition for clarity (#32165) 2023-06-16 19:28:53 +00:00
snapshot_package Clean up the outdated SnapshotPackage snapshot_links field (#31360) 2023-05-01 11:24:59 -07:00
snapshot_utils Refactor SnapshotError related code (#31632) 2023-05-22 15:33:11 -07:00
tiered_storage [TieredStorage] HotAccountMeta (2/N) (#32227) 2023-06-24 01:25:54 +08:00
account_info.rs Move alignment related consts from append_vec.rs to accounts_file.rs (#30782) 2023-03-20 11:34:18 -07:00
account_overrides.rs
account_rent_state.rs Cleanup - include_account_index_in_rent_error (#31770) 2023-05-23 15:02:55 +02:00
account_storage.rs rework assert_no_shrink_in_progress to get assert stack easily (#31251) 2023-04-19 11:36:24 -07:00
accounts.rs correct feature gate use_default_units_in_fee_calculation usage (#32077) 2023-06-12 16:29:21 -05:00
accounts_background_service.rs Handle errors when sending an accounts package during shutdown (#31874) 2023-05-30 17:42:33 -04:00
accounts_cache.rs
accounts_db.rs test ancient packing with recycling (#32021) 2023-06-09 10:38:34 -07:00
accounts_file.rs Add enum AppendVecError (#31749) 2023-05-24 12:18:17 -07:00
accounts_hash.rs Display path in error message when file create/write fails (#32036) 2023-06-12 11:45:26 -05:00
accounts_index.rs simplify clean_dead_slot, factor out root stats (#32035) 2023-06-09 07:35:38 -07:00
accounts_index_storage.rs Pass Arc<AtomicBool> by value, not by reference. (#31916) 2023-06-01 17:25:48 -07:00
accounts_partition.rs Rework bank to allow RentCollectionCycleParams private (#31361) 2023-04-26 14:48:51 -07:00
accounts_update_notifier_interface.rs Move account-meta structs from append_vec.rs to account_meta.rs (#30443) 2023-02-22 16:10:34 -08:00
active_stats.rs
ancestors.rs
ancient_append_vecs.rs test ancient packing with recycling (#32021) 2023-06-09 10:38:34 -07:00
append_vec.rs Add enum AppendVecError (#31749) 2023-05-24 12:18:17 -07:00
bank.rs Make `ci/_` to print to stderr instead of stdout (#32238) 2023-06-22 15:46:22 +09:00
bank_client.rs Update SBF programs tests to use bank from the correct slot (#31491) 2023-05-04 13:25:02 -07:00
bank_creation_freezing_progress.rs improve BankCreationFreezingProgress and add tests (#30513) 2023-02-27 07:54:08 -08:00
bank_forks.rs refactor: highest_cluster_confirmed_root -> highest_super_majority_root (#31619) 2023-05-14 00:42:03 -07:00
bank_utils.rs Revert "Do not exclude failed simple vote transactions from consensus" (#29745) 2023-01-18 15:13:13 -05:00
block_cost_limits.rs use one definition of builtin program cost in runtime and banking stage (#31930) 2023-06-02 10:22:22 -05:00
blockhash_queue.rs
bucket_map_holder.rs add DiskIndexValue trait for disk index (#30503) 2023-02-24 11:02:06 -08:00
bucket_map_holder_stats.rs disk index: add stat: disk_index_failed_resizes (#31039) 2023-04-04 09:39:06 -07:00
builtins.rs Refactor - Merges `BuiltinPrograms` into `LoadedPrograms` (#31654) 2023-05-18 22:18:28 +02:00
cache_hash_data.rs remove redundant `mut`s (#31696) 2023-05-18 11:08:13 -07:00
cache_hash_data_stats.rs
commitment.rs refactor: highest_cluster_confirmed_root -> highest_super_majority_root (#31619) 2023-05-14 00:42:03 -07:00
contains.rs
cost_model.rs correct feature gate use_default_units_in_fee_calculation usage (#32077) 2023-06-12 16:29:21 -05:00
cost_tracker.rs Cleanup - require_static_program_ids_in_transaction (#31767) 2023-06-07 17:12:41 +02:00
epoch_accounts_hash.rs
epoch_rewards_hasher.rs add calculate_rewards_for_partitioning (#32110) 2023-06-13 15:45:59 -07:00
epoch_stakes.rs Add ancestor hashes to state machine (#31627) 2023-05-13 02:05:44 -07:00
genesis_utils.rs Cleanup - `Bank::reconfigure_token2_native_mint()` (#31817) 2023-06-07 21:14:43 +02:00
hardened_unpack.rs
in_mem_accounts_index.rs clarify AccountsIndexScanResult::OnlyKeepInMemoryIfDirty (#31513) 2023-05-05 10:39:32 -07:00
inline_spl_associated_token_account.rs
inline_spl_token.rs
inline_spl_token_2022.rs
lib.rs add hash_rewards_into_partitions (#31795) 2023-06-09 11:55:01 -07:00
loader_utils.rs
message_processor.rs Refactor - Merges `BuiltinPrograms` into `LoadedPrograms` (#31654) 2023-05-18 22:18:28 +02:00
non_circulating_supply.rs
partitioned_rewards.rs add cli args and use of partitioned rewards config (#31800) 2023-05-24 10:54:09 -07:00
prioritization_fee.rs report less datapoints to block_min_prioritization_fee (#30017) 2023-02-01 11:32:36 -06:00
prioritization_fee_cache.rs Refactor pass feature status to deserialized packet via packet meta (#31549) 2023-05-11 09:31:05 -05:00
pubkey_bins.rs
read_only_accounts_cache.rs
rent_collector.rs
rent_debits.rs Move rent debit out of bank (#31204) 2023-04-14 19:41:10 +00:00
rolling_bit_field.rs
root_bank_cache.rs RootBankCache: only cache weak reference to avoid keeping a bank alive (#31189) 2023-04-14 11:33:18 -07:00
runtime_config.rs Cleanup - Removes the CLI option "no-bpf-jit" (#31329) 2023-04-25 19:04:11 +02:00
secondary_index.rs Add an RPC API that can query the list of Top N secondary index keys and their sizes (#28887) 2023-01-31 13:47:03 -07:00
serde_snapshot.rs Enables creating snapshots after booting from local state (#32137) 2023-06-15 22:54:32 -04:00
shared_buffer_reader.rs
snapshot_archive_info.rs
snapshot_config.rs Sets default snapshot archive format to zstd (#32205) 2023-06-21 15:15:53 -04:00
snapshot_hash.rs Refactors the Full/Incremental SnapshotHash types (#31186) 2023-04-13 18:01:27 -04:00
snapshot_minimizer.rs Refactor - Merges `BuiltinPrograms` into `LoadedPrograms` (#31654) 2023-05-18 22:18:28 +02:00
snapshot_package.rs pass include_slot_in_hash through hash calcs to allow rehashing if hash is not stored (#31579) 2023-05-11 13:23:29 -07:00
snapshot_utils.rs create and canonicalize account_paths (#32037) 2023-06-09 10:04:25 -07:00
sorted_storages.rs Adds test for SortedStorages::new_with_slots() (#31471) 2023-05-04 06:13:08 -04:00
stake_account.rs drop default from PhantomData::default() (#30476) 2023-02-23 14:59:08 -08:00
stake_history.rs
stake_rewards.rs move StakeReward to stake_rewards.rs (#32014) 2023-06-07 12:35:28 -07:00
stake_weighted_timestamp.rs
stakes.rs Add new vote state version that replaces Lockout with LandedVote to a… (#30831) 2023-04-18 20:27:38 -07:00
static_ids.rs
status_cache.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
storable_accounts.rs add StorableAccount impl for account value (#31675) 2023-05-16 12:54:48 -07:00
tiered_storage.rs [TieredStorage] HotAccountMeta (2/N) (#32227) 2023-06-24 01:25:54 +08:00
transaction_batch.rs
transaction_cost.rs include cost of transaction's requested loaded accounts size in cost model (#31905) 2023-06-08 12:49:42 -05:00
transaction_error_metrics.rs add ProgramExecutionTemporarilyRestricted error (#31796) 2023-06-06 14:13:41 -07:00
transaction_priority_details.rs Refactor pass feature status to deserialized packet via packet meta (#31549) 2023-05-11 09:31:05 -05:00
verify_accounts_hash_in_background.rs Includes error in panic in initial accounts hash verification (#30725) 2023-03-15 12:24:55 -04:00
vote_account.rs runtime: transpose `VoteAccount::vote_state()` return to improve ergonomics (#31256) 2023-04-18 14:48:52 -06:00
vote_parser.rs refactor to remove additional is_simple_vote check (#30521) 2023-02-24 23:49:04 -06:00
vote_sender_types.rs
vote_transaction.rs
waitable_condvar.rs