solana/runtime/src
Alexander Meißner 24a87f33a8
Refactor - Cleanup error handling in program runtime (#30693)
* Moves stable_log::program_invoke(), stable_log::program_success() and stable_log::program_failure() calls from bpf_loader into InvokeContext::process_executable_chain().

* Turns result of ProcessInstructionWithContext from InstructionError into Box<dyn std::error::Error>.

* Bump to solana_rbpf v0.3.0

* Removes Result from return type of EbpfVm::new().

* Turns EbpfError into Box<dyn std::error::Error>.

* Removes BpfError.

* Removes SyscallError::InstructionError.

* Adds a type alias for Box<dyn std::error::Error> in syscalls.
2023-04-05 15:50:34 +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
bank Refactor - Cleanup error handling in program runtime (#30693) 2023-04-05 15:50:34 +02: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 Return error early if program is a tombstone (#30940) 2023-03-30 11:16:01 -07:00
accounts_background_service.rs Moves shrink after flush and clean (#30918) 2023-03-28 16:11:56 -04:00
accounts_cache.rs
accounts_db.rs at startup, keep duplicates in in-memory index since they will be cleaned shortly (#30736) 2023-03-22 08:33:39 -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 at startup, keep duplicates in in-memory index since they will be cleaned shortly (#30736) 2023-03-22 08:33:39 -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 Cleanup - `load_and_get_programs_from_cache()` (#30959) 2023-03-29 16:11:14 +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 RootBankCache must use Acquire-Release semantics when accessing BankForks::root (#30936) 2023-03-28 14:35:02 -04:00
bank_utils.rs
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
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
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: set_anticipated_count to optimally grow disk buckets at startup (#31033) 2023-04-03 20:28:50 -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
message_processor.rs Refactor - Cleanup error handling in program runtime (#30693) 2023-04-05 15:50:34 +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
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
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 bank_from_snapshot_dir returns BankFromDirTimings (#31051) 2023-04-04 17:10:56 -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
storable_accounts.rs Abstract out StoredAccountMeta as an Enum (#30478) 2023-03-09 15:52:51 -08:00
system_instruction_processor.rs Refactor - Cleanup error handling in program runtime (#30693) 2023-04-05 15:50:34 +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
waitable_condvar.rs