solana/runtime/src
Xiang Zhu 31784b2ecc
Add remove_incomplete_bank_snapshot_dir (#31131)
* Add remove_incomplete_bank_snapshot_dir

* Remove incomplete snapshot dir if incomplete

* Revert "Add remove_incomplete_bank_snapshot_dir"

This reverts commit aaafef74803ca4e2050b8cd83ef352c5a59509b4.

* Replace metadata's is_file with simple PathBuf's is_file

* In test verify the deletion of the incomplete snapshot dir

* Add comments to explain the snapshot dir cleanup
2023-04-11 17:56:26 -07: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 test for transaction has too high prioritization fee (#31097) 2023-04-11 16:22:19 -05:00
epoch_accounts_hash
serde_snapshot Enforce a minimum of 1 on full and incremental snapshot retention (#30968) 2023-03-30 10:16:36 -05:00
snapshot_package Uses a channel for AHV -> SPS (#30406) 2023-02-22 03:36:29 +00:00
snapshot_utils Construct bank from snapshot dir (#30171) 2023-03-22 13:49:23 -07: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
account_storage.rs minor cleanup (#30477) 2023-02-23 15:10:09 -08:00
accounts.rs Add test for transaction has too high prioritization fee (#31097) 2023-04-11 16:22:19 -05:00
accounts_background_service.rs Moves shrink after flush and clean (#30918) 2023-03-28 16:11:56 -04:00
accounts_cache.rs never try to shrink a slot that is in the write cache (#29615) 2023-01-10 12:01:37 -08:00
accounts_db.rs fix cli arg for ancient append vecs (#31066) 2023-04-06 12:03:31 -07:00
accounts_file.rs Move alignment related consts from append_vec.rs to accounts_file.rs (#30782) 2023-03-20 11:34:18 -07:00
accounts_hash.rs Makes AccountsHash an enum (#30416) 2023-02-21 15:20:51 -05:00
accounts_index.rs disk index: batch insert (#31094) 2023-04-10 11:08:54 -07:00
accounts_index_storage.rs add DiskIndexValue trait for disk index (#30503) 2023-02-24 11:02:06 -08: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 Abstract out StoredAccountMeta as an Enum (#30478) 2023-03-09 15:52:51 -08:00
append_vec.rs Move alignment related consts from append_vec.rs to accounts_file.rs (#30782) 2023-03-20 11:34:18 -07:00
bank.rs Refactor reward payout code - part 1 (#31155) 2023-04-11 16:23:52 -05:00
bank_client.rs Relax `Sized` bound for `Signers` in `Transaction` and `Client` (#30568) 2023-03-30 13:12:48 +00:00
bank_creation_freezing_progress.rs improve BankCreationFreezingProgress and add tests (#30513) 2023-02-27 07:54:08 -08:00
bank_forks.rs Refactor squash timing report (#31041) 2023-04-05 08:53:49 -05: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 Link needs updating (#30688) 2023-03-13 17:33:22 +01: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 Revert "add default_cost as mandatory field for Builtin (#30639)" (#30749) 2023-03-16 11:21:06 -05:00
cache_hash_data.rs Refactors accounts hash cache (#29625) 2023-01-12 10:43:50 -05:00
cache_hash_data_stats.rs
commitment.rs
contains.rs
cost_model.rs add compute budget instruction to set loaded accounts data size limit (#30377) 2023-02-24 09:27:49 -06:00
cost_tracker.rs implement From trait for CostTrackerError to TransactionError (#30267) 2023-02-13 11:06:39 -06:00
epoch_accounts_hash.rs
epoch_stakes.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
genesis_utils.rs
hardened_unpack.rs Account path add run parent with old path cleanup (#29942) 2023-01-30 10:26:43 -08:00
in_mem_accounts_index.rs disk index: batch insert (#31094) 2023-04-10 11:08:54 -07:00
inline_spl_associated_token_account.rs
inline_spl_token.rs
inline_spl_token_2022.rs
lib.rs move BankCreationFreezingProgress to its own file (#30510) 2023-02-24 14:05:39 -08:00
loader_utils.rs Adds symmetric tests for all cases of un-/re-/deployment inside the same transaction (#29725) 2023-01-17 09:44:27 +01:00
message_processor.rs Cleanup - mock_process_instruction() (#31088) 2023-04-07 12:53:19 +02:00
non_circulating_supply.rs
nonce_keyed_account.rs Cleanup - mock InvokeContext (#31007) 2023-04-03 17:23:24 +02: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 Standardize Thread Naming - Prioritization Fee Cache (#30890) 2023-03-24 13:48:55 -07:00
pubkey_bins.rs deprecates Pubkey::new in favor of Pubkey::{,try_}from (#29805) 2023-01-21 18:06:27 +00:00
read_only_accounts_cache.rs
rent_collector.rs Fixes format string (#29533) 2023-01-05 13:06:00 -05:00
rent_debit.rs LoadedPrograms cache implementation and tests (#30139) 2023-02-08 13:24:44 -08:00
rent_paying_accounts_by_partition.rs deprecates Pubkey::new in favor of Pubkey::{,try_}from (#29805) 2023-01-21 18:06:27 +00:00
rolling_bit_field.rs
root_bank_cache.rs
runtime_config.rs
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 Construct bank from snapshot dir (#30171) 2023-03-22 13:49:23 -07:00
shared_buffer_reader.rs fixes errors from clippy::useless_conversion (#29534) 2023-01-05 18:05:32 +00:00
snapshot_archive_info.rs
snapshot_config.rs Enforce a minimum of 1 on full and incremental snapshot retention (#30968) 2023-03-30 10:16:36 -05:00
snapshot_hash.rs Uses strong types for snapshot hashes in SnapshotPackagerService (#30603) 2023-03-06 16:50:45 -05:00
snapshot_minimizer.rs Removes unused `ancestors` param from `get_snapshot_storages` (#30773) 2023-03-18 17:17:41 -04:00
snapshot_package.rs Uses a channel for AHV -> SPS (#30406) 2023-02-22 03:36:29 +00:00
snapshot_utils.rs Add remove_incomplete_bank_snapshot_dir (#31131) 2023-04-11 17:56:26 -07:00
sorted_storages.rs Abstract out AppendVec into AccountsFile enum (#29815) 2023-02-15 17:24:04 -08:00
stake_account.rs drop default from PhantomData::default() (#30476) 2023-02-23 14:59:08 -08:00
stake_history.rs
stake_weighted_timestamp.rs
stakes.rs add test_stake_account_consistency_with_rent_epoch_max_feature (#29915) 2023-01-27 11:50:33 -08: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 Abstract out StoredAccountMeta as an Enum (#30478) 2023-03-09 15:52:51 -08:00
system_instruction_processor.rs Cleanup - mock_process_instruction() (#31088) 2023-04-07 12:53:19 +02:00
transaction_batch.rs
transaction_error_metrics.rs Limit loaded data per transaction to a fixed cap (#29743) 2023-01-31 22:51:35 -06:00
transaction_priority_details.rs add compute budget instruction to set loaded accounts data size limit (#30377) 2023-02-24 09:27:49 -06: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
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 vote: encapsulate `Lockout` (#29753) 2023-01-18 19:28:28 -07:00
waitable_condvar.rs