solana/runtime/src
Tao Zhu 81dc2e56ac
Cap accounts data a transaction can load by its requested limit (#27840)
- Add new compute-budget instruction to set transaction-wide accounts data size limit
- Set default accounts data limit to 10MB, and max to 100MB, per transaction;
- Add getters to make changing default and/or max values easier in the future with feature gates;
- added error counter for transactions exceed data size limit
2022-11-14 10:29:35 -06:00
..
accounts_background_service Add stats for Accounts Background Service (#26298) 2022-06-30 02:21:30 +00:00
accounts_db patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
append_vec removes erroneous uses of std::mem::swap (#26536) 2022-07-11 11:33:15 +00:00
bank RPC: Support versioned txs in getFeeForMessage API (#28217) 2022-10-05 00:00:34 +08:00
epoch_accounts_hash Move epoch accounts hash utility functions (#28219) 2022-10-05 23:29:22 +00:00
serde_snapshot clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
snapshot_package Converts PendingAccountsPackage to a channel (#28352) 2022-10-13 12:47:36 -04:00
snapshot_utils clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
account_info.rs
account_overrides.rs
account_rent_state.rs Adds `IndexOfAccount` type (#27599) 2022-09-06 11:31:40 +02:00
accounts.rs Cap accounts data a transaction can load by its requested limit (#27840) 2022-11-14 10:29:35 -06:00
accounts_background_service.rs Skips taking a bank snapshot for EAH requests (#28757) 2022-11-10 15:14:26 +00:00
accounts_cache.rs remove slot# from account hash (#28405) 2022-10-18 08:03:37 -07:00
accounts_db.rs allow ancient append vec threshold to be set on cli (#28707) 2022-11-11 11:30:05 -08:00
accounts_hash.rs clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
accounts_index.rs clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
accounts_index_storage.rs use exit signal for acct idx bg threads (#27483) 2022-09-12 11:51:12 -07:00
accounts_update_notifier_interface.rs
active_stats.rs move hash stat to correct level for ahv to work (#26649) 2022-07-18 12:44:33 -05:00
ancestors.rs Share Ancestors API get with contains_key (#27161) 2022-08-16 12:06:52 -05:00
ancient_append_vecs.rs remove duplicate pubkey during shrink (#28689) 2022-11-01 07:45:52 -07:00
append_vec.rs .pubkey() instead of meta.pubkey for stored account (#28682) 2022-10-31 13:58:42 -07:00
bank.rs Cap accounts data a transaction can load by its requested limit (#27840) 2022-11-14 10:29:35 -06:00
bank_client.rs Standardize thread names 2022-08-20 07:49:39 -07:00
bank_forks.rs Tracks how long background requests wait before processing (#28581) 2022-10-25 12:10:53 -04:00
bank_utils.rs
block_cost_limits.rs chore: update Solana docs and code comments that specify "BPF" to "SBF" 2022-10-31 14:14:25 -04:00
blockhash_queue.rs
bucket_map_holder.rs use exit signal for acct idx bg threads (#27483) 2022-09-12 11:51:12 -07:00
bucket_map_holder_stats.rs clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
builtins.rs clean feature: `prevent_calling_precompiles_as_programs` (#27100) 2022-08-18 05:21:16 +00:00
cache_hash_data.rs rename merge() -> accumulate() (#28561) 2022-10-25 08:52:02 -07:00
cache_hash_data_stats.rs rename merge() -> accumulate() (#28561) 2022-10-25 08:52:02 -07:00
commitment.rs
contains.rs
cost_model.rs increase instruction data cost (#27992) 2022-09-23 16:15:31 -05:00
cost_tracker.rs patches clippy errors from new rust nightly release (#28028) 2022-09-23 20:57:27 +00:00
epoch_accounts_hash.rs Move epoch accounts hash utility functions (#28219) 2022-10-05 23:29:22 +00:00
epoch_stakes.rs
execute_cost_table.rs patches clippy errors from new rust nightly release (#28028) 2022-09-23 20:57:27 +00:00
genesis_utils.rs Remove KeypairInsecureClone trait and add insecure_clone() instead (#27396) 2022-09-12 14:59:41 +00:00
hardened_unpack.rs patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
in_mem_accounts_index.rs extract 'unref_pubkeys' for shared code (#28653) 2022-10-28 10:12:29 -07:00
inline_spl_associated_token_account.rs
inline_spl_token.rs
inline_spl_token_2022.rs
lib.rs remove expected rent collection and rehashing completely (#28422) 2022-10-17 07:24:42 -07:00
loader_utils.rs
message_processor.rs Refactor - executor_cache (#28332) 2022-10-12 18:09:03 +02:00
non_circulating_supply.rs
nonce_keyed_account.rs Feature: Explicitly limit `TransactionContext::instruction_trace_capacity` (#27938) 2022-09-26 10:47:16 +02:00
prioritization_fee.rs collect min prioritization fees when replaying sanitized transactions (#26709) 2022-08-31 08:00:55 -05:00
prioritization_fee_cache.rs fix a flacky test (#27572) 2022-09-02 15:02:22 +00:00
pubkey_bins.rs clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
read_only_accounts_cache.rs add ability to flush read only accounts cache (#28726) 2022-11-02 12:03:32 -07:00
rent_collector.rs move test function to test mod (#28704) 2022-11-01 11:18:02 -07:00
rent_paying_accounts_by_partition.rs protect access to rent paying account vec (#26919) 2022-08-05 08:19:46 -05:00
rolling_bit_field.rs clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
root_bank_cache.rs root_bank_cache (#27985) 2022-09-23 15:01:03 -05:00
runtime_config.rs Allow overriding the runtime transaction account lock limit (#26948) 2022-08-12 15:07:48 +01:00
secondary_index.rs patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
serde_snapshot.rs clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
shared_buffer_reader.rs Standardize thread names 2022-08-20 07:49:39 -07:00
snapshot_archive_info.rs Uses SnapshotHash type in snapshot archive fields (#28681) 2022-10-31 14:28:35 -04:00
snapshot_config.rs Add SnapshotUsage to SnapshotConfig (#27508) 2022-09-02 08:56:23 -04:00
snapshot_hash.rs Uses SnapshotHash type in snapshot archive fields (#28681) 2022-10-31 14:28:35 -04:00
snapshot_minimizer.rs report ancient stats correctly in drop_or_recycle_stores (#28747) 2022-11-10 07:27:38 -08:00
snapshot_package.rs Refactors SnapshotPackage::new() to use let-else statements (#28779) 2022-11-10 11:29:51 -05:00
snapshot_utils.rs clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
sorted_storages.rs use ref for snapshot_storages.iter_range (#28205) 2022-10-04 09:11:44 -07:00
stake_account.rs fix typo 2022-09-28 09:48:56 -05:00
stake_history.rs
stake_weighted_timestamp.rs
stakes.rs checks that cached vote accounts are consistent with accounts-db (#27286) 2022-08-22 13:38:41 +00:00
static_ids.rs
status_cache.rs patches clippy errors from new rust nightly release (#28028) 2022-09-23 20:57:27 +00:00
storable_accounts.rs clippy for rust 1.65.0 (#28765) 2022-11-09 19:39:38 +00:00
system_instruction_processor.rs BorrowedAccount: add set_data_from_slice(), make set_data() take owned values (#27836) 2022-09-24 01:37:02 +01:00
transaction_batch.rs
transaction_error_metrics.rs Cap accounts data a transaction can load by its requested limit (#27840) 2022-11-14 10:29:35 -06:00
transaction_priority_details.rs Cap accounts data a transaction can load by its requested limit (#27840) 2022-11-14 10:29:35 -06:00
verify_accounts_hash_in_background.rs Standardize thread names 2022-08-20 07:49:39 -07:00
vote_account.rs patches metrics for invalid cached vote/stake accounts (#27266) 2022-08-20 19:10:22 +00:00
vote_parser.rs Add convenience methods to VoteInstruction to distinguish vote types (#28526) 2022-10-21 14:17:40 -06:00
vote_sender_types.rs
vote_transaction.rs
waitable_condvar.rs