solana/runtime/src
Alexander Meißner ae75c7cb3f
Refactoring - Remove redundant definition of `BuiltinProgram` (#31429)
* Replaces BuiltinProgram in the program-runtime with the one from solana_rbpf.

* Adjusts the runtimes built-ins to use Arc<LoadedProgram>.

* Adjusts the tests and benchmarks.
2023-05-02 23:01:28 +02: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 Refactoring - Remove redundant definition of `BuiltinProgram` (#31429) 2023-05-02 23:01:28 +02:00
epoch_accounts_hash
serde_snapshot Fixes name of snapshot_utils::get_bank_snapshot_dir() (#31432) 2023-05-01 19:28:35 +00:00
snapshot_package Clean up the outdated SnapshotPackage snapshot_links field (#31360) 2023-05-01 11:24:59 -07: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 rework assert_no_shrink_in_progress to get assert stack easily (#31251) 2023-04-19 11:36:24 -07:00
accounts.rs Fix - Filter condition in `filter_executable_program_accounts()` (#31371) 2023-04-27 18:38:00 +02:00
accounts_background_service.rs Remove bank_snapshots_dir param (#31249) 2023-04-19 09:37:46 -07: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 remove unused metrics (#31377) 2023-04-27 13:26:46 -07:00
accounts_file.rs add `is_recyclable` to `AccountsFile` (#31257) 2023-04-19 11:36:44 -07:00
accounts_hash.rs remove unused metrics (#31377) 2023-04-27 13:26:46 -07:00
accounts_index.rs ci: treewide: deny used_underscore_binding (#31319) 2023-04-27 10:10:16 +09:00
accounts_index_storage.rs add DiskIndexValue trait for disk index (#30503) 2023-02-24 11:02:06 -08: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 packed ancient: report random stat (#31274) 2023-04-24 07:40:45 -07:00
append_vec.rs Gives lifetimes more descriptive names in append_vec.rs (#31403) 2023-04-28 15:32:29 -04:00
bank.rs Refactoring - Remove redundant definition of `BuiltinProgram` (#31429) 2023-05-02 23:01:28 +02: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 Check program modification slots during cold start (#31331) 2023-04-28 06:22:14 -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 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 Refactoring - Remove redundant definition of `BuiltinProgram` (#31429) 2023-05-02 23:01:28 +02: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
genesis_utils.rs Refactor - Moves bpf_loader registration into the runtime (#31345) 2023-04-26 14:44:19 +02:00
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 partition logic out of bank (#31343) 2023-04-26 12:37:02 -07: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 Refactor - `BuiltinPrograms` (#31324) 2023-04-24 19:01:40 +02:00
non_circulating_supply.rs
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_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 Clean up the outdated SnapshotPackage snapshot_links field (#31360) 2023-05-01 11:24:59 -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 Refactors the Full/Incremental SnapshotHash types (#31186) 2023-04-13 18:01:27 -04:00
snapshot_minimizer.rs Move partition logic out of bank (#31343) 2023-04-26 12:37:02 -07:00
snapshot_package.rs Clean up the outdated SnapshotPackage snapshot_links field (#31360) 2023-05-01 11:24:59 -07:00
snapshot_utils.rs Fixes name of snapshot_utils::get_bank_snapshot_dir() (#31432) 2023-05-01 19:28:35 +00: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 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
storable_accounts.rs Abstract out StoredAccountMeta as an Enum (#30478) 2023-03-09 15:52:51 -08: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 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 vote: encapsulate `Lockout` (#29753) 2023-01-18 19:28:28 -07:00
waitable_condvar.rs