solana/runtime/src
Maximilian Schneider c8b0c3ede9
Update cost model to use requested_cu instead of estimated cu #27608 (#28281)
* Update cost model to use requested_cu instead of estimated cu #27608

* remove CostUpdate and CostModel from replay/tvu

* revive cost update service to send cost tracker stats

* CostModel is now static

* remove unused package

Co-authored-by: Tao Zhu <tao@solana.com>
2022-11-22 11:55:56 -06:00
..
accounts_background_service
accounts_db patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
append_vec
bank removes feature gate code preventing crediting accounts that end rent paying (#28818) 2022-11-15 19:55:34 +00:00
epoch_accounts_hash Requires EAH state cannot be Invalid (#28817) 2022-11-17 11:01:01 -05:00
serde_snapshot Removes Accounts::bank_hash_at() (#28879) 2022-11-21 13:25:48 -05: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 removes feature gate code preventing crediting accounts that end rent paying (#28818) 2022-11-15 19:55:34 +00:00
accounts.rs Removes Accounts::bank_hash_at() (#28879) 2022-11-21 13:25:48 -05:00
accounts_background_service.rs cleanup CalcAccountsHashDataSource (#28882) 2022-11-18 14:49:22 -08:00
accounts_cache.rs remove slot# from account hash (#28405) 2022-10-18 08:03:37 -07:00
accounts_db.rs test_store_reuse uses write cache (#28901) 2022-11-21 11:17:33 -08:00
accounts_hash.rs rename test var for clarity (#28914) 2022-11-21 13:22:16 -08:00
accounts_index.rs Get Index Key Size RPC Support (#28383) 2022-11-16 20:39:11 -07: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
ancestors.rs
ancient_append_vecs.rs remove per-account slot in ancient append vecs (#28851) 2022-11-18 10:15:41 -08:00
append_vec.rs test_new_from_file_crafted_zero_lamport_account uses static append vec file (#28911) 2022-11-21 12:43:03 -08:00
bank.rs use write cache by default in some tests (#28876) 2022-11-18 14:35:52 -08:00
bank_client.rs Standardize thread names 2022-08-20 07:49:39 -07:00
bank_forks.rs Requires EAH state cannot be Invalid (#28817) 2022-11-17 11:01:01 -05: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
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 Update cost model to use requested_cu instead of estimated cu #27608 (#28281) 2022-11-22 11:55:56 -06:00
cost_tracker.rs Fix typo in cost_tracker.rs (#28781) 2022-11-14 14:36:59 -07:00
epoch_accounts_hash.rs Move epoch accounts hash utility functions (#28219) 2022-10-05 23:29:22 +00:00
epoch_stakes.rs
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 Update cost model to use requested_cu instead of estimated cu #27608 (#28281) 2022-11-22 11:55:56 -06: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
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
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 Verifies EAH in SnapshotHash (#28775) 2022-11-14 16:02:08 -05: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 Verifies EAH in SnapshotHash (#28775) 2022-11-14 16:02:08 -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 remove per-account slot in ancient append vecs (#28851) 2022-11-18 10:15:41 -08: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