solana/runtime/src
Tao Zhu b1b3702e6d
Prioritize transactions in banking stage by their compute unit price (#25178)
* - get prioritization fee from compute_budget instruction;
- update compute_budget::process_instruction function to take instruction iter to support sanitized versioned message;
- updated runtime.md

* update transaction fee calculation for prioritization fee rate as lamports per 10K CUs

* review changes

* fix test

* fix a bpf test

* fix bpf test

* patch feedback

* fix clippy

* fix bpf test

* feedback

* rename prioritization fee rate to compute unit price

* feedback

Co-authored-by: Justin Starry <justin@solana.com>
2022-05-16 12:06:33 +08:00
..
accounts_db Rename AccountsDb plugins to Geyser plugins (#23604) 2022-03-14 19:18:46 -06:00
bank Fix bug in bank/sysvar_cache tests (#23780) 2022-03-19 21:38:18 -05:00
serde_snapshot Revert "Serialize lamports per signature in snapshots (#25181)" (#25228) 2022-05-15 12:04:17 +00:00
snapshot_utils Move ArchiveFormat into own module (#23562) 2022-03-09 16:09:34 -06:00
account_info.rs
account_overrides.rs sim: Override slot hashes account on simulation bank (#24543) 2022-04-22 12:32:31 +02:00
account_rent_state.rs
accounts.rs Prioritize transactions in banking stage by their compute unit price (#25178) 2022-05-16 12:06:33 +08:00
accounts_background_service.rs Add options to store full and/or incremental snapshots in separate locations (#24247) 2022-05-10 16:37:41 -04:00
accounts_cache.rs
accounts_db.rs populate ancient append vec metrics (#25204) 2022-05-13 18:20:15 -05:00
accounts_hash.rs add metric for ancient append vec count (#25126) 2022-05-11 08:01:04 -05:00
accounts_index.rs avoid zeroing out root stats with empty data (#25111) 2022-05-10 13:56:30 -05:00
accounts_index_storage.rs don't start extra threads for shrink/clean/hash (#23858) 2022-03-23 11:53:37 -05:00
accounts_update_notifier_interface.rs
active_stats.rs add state for squash ancient (#24552) 2022-04-25 09:05:37 -05:00
ancestors.rs add roots_original to roots tracker (#23849) 2022-03-30 08:52:45 -05:00
ancient_append_vecs.rs clippy (#25206) 2022-05-13 21:03:54 -05:00
append_vec.rs append_vec::remaining_bytes (#24531) 2022-04-20 13:44:57 -05:00
bank.rs Prioritize transactions in banking stage by their compute unit price (#25178) 2022-05-16 12:06:33 +08:00
bank_client.rs Support sending versioned txs in AsyncClient (#23982) 2022-04-02 11:12:02 +08:00
bank_forks.rs Block packets in vote-only mode (#24906) 2022-05-14 17:53:37 +02:00
bank_utils.rs
block_cost_limits.rs Banking Stage drops transactions that'll exceed the total account data size limit (#23537) 2022-03-13 15:58:57 +00:00
blockhash_queue.rs Refactor: Rename BlockhashQueue fields and methods for clarity (#24426) 2022-04-21 11:57:17 +08:00
bucket_map_holder.rs default to disk index (#24251) 2022-04-13 09:24:50 -05:00
bucket_map_holder_stats.rs log fail to evict (#23815) 2022-03-22 09:19:38 -05:00
builtins.rs Refactor: Use `InstructionContext::get_instruction_data()` (#24014) 2022-04-01 15:48:05 +02:00
cache_hash_data.rs check file size of accounts cache mmap before indexing (#25077) 2022-05-10 13:33:22 -05:00
cache_hash_data_stats.rs
commitment.rs
contains.rs
cost_model.rs additional costs in block capacity calc (#25059) 2022-05-12 13:52:20 -05:00
cost_tracker.rs Fail tx sanitization when ix program id uses lookup table (#25035) 2022-05-07 03:19:50 +08:00
epoch_stakes.rs checks account owner when initializing a vote-account (#25018) 2022-05-06 16:22:49 +00:00
execute_cost_table.rs chore: update function name (#24166) 2022-05-05 10:27:14 -05:00
expected_rent_collection.rs maybe_update_rent_epoch_on_load uses correct EpochSchedule (#24999) 2022-05-05 13:34:03 -05:00
genesis_utils.rs Remove StakeState::get_rent_exempt_reserve() 2022-04-25 21:43:04 -07:00
hardened_unpack.rs (LedgerStore) Use different path for different blockstore storage type. (#23236) 2022-03-02 18:30:22 -08:00
in_mem_accounts_index.rs IndexLimitMb option adds 'Unspecified' state (#24249) 2022-04-12 09:38:09 -05:00
inline_spl_associated_token_account.rs token: Add features for new program releases (#24742) 2022-04-28 23:43:57 +02:00
inline_spl_token.rs token: Add features for new program releases (#24742) 2022-04-28 23:43:57 +02:00
inline_spl_token_2022.rs
lib.rs add ancient_append_vecs (#25119) 2022-05-10 16:41:04 -05:00
loader_utils.rs Add size_of const fns for upgradeable loader states (#25131) 2022-05-11 22:22:59 +08:00
message_processor.rs Record instructions which are precompiles (#24743) 2022-05-04 16:32:14 +02:00
non_circulating_supply.rs Update non-circulating supply list (#24817) 2022-04-29 02:57:54 +00:00
nonce_keyed_account.rs Remove `KeyedAccount` in builtin program "nonce keyed account" (#24436) 2022-04-18 22:19:51 +02:00
pubkey_bins.rs
read_only_accounts_cache.rs
rent_collector.rs new counter data point for unexpected rent_epoch (#23449) 2022-03-03 09:09:31 -06:00
rolling_bit_field.rs add roots_original to roots tracker (#23849) 2022-03-30 08:52:45 -05:00
runtime_config.rs Remove halt_at_slot from RuntimeConfig, it's not a runtime concern 2022-04-19 19:23:58 -07:00
secondary_index.rs log secondary index contents on startup (#24348) 2022-04-15 13:30:03 -05:00
serde_snapshot.rs Add accounts-filler-size command line option (#23896) 2022-04-11 13:10:09 -05:00
shared_buffer_reader.rs Revert "Use memory map to speed up snapshot untar (#24889)" (#25174) 2022-05-12 14:48:29 -05:00
snapshot_archive_info.rs Separate remotely downloaded snapshot archives (#23510) 2022-03-14 14:03:59 -05:00
snapshot_config.rs Add options to store full and/or incremental snapshots in separate locations (#24247) 2022-05-10 16:37:41 -04:00
snapshot_hash.rs
snapshot_package.rs Add options to store full and/or incremental snapshots in separate locations (#24247) 2022-05-10 16:37:41 -04:00
snapshot_utils.rs Revert "Use memory map to speed up snapshot untar (#24889)" (#25174) 2022-05-12 14:48:29 -05:00
sorted_storages.rs SortedStorages::max_slot_inclusive() (#25153) 2022-05-12 10:24:03 -05:00
stake_account.rs checks account owner when initializing a vote-account (#25018) 2022-05-06 16:22:49 +00:00
stake_history.rs
stake_weighted_timestamp.rs
stakes.rs checks account owner when initializing a vote-account (#25018) 2022-05-06 16:22:49 +00:00
status_cache.rs
storable_accounts.rs add StorableAccountsMovingSlots (#24555) 2022-04-21 15:48:20 -05:00
system_instruction_processor.rs Remove `KeyedAccount` in builtin program "system instruction processor" (#24452) 2022-04-19 09:28:07 +02:00
transaction_batch.rs Unset needs_unlock for rebatched transactions batches (#25095) 2022-05-10 13:39:08 -07:00
transaction_cost_metrics_sender.rs Cost model tracks builtins and bpf programs separately (#24468) 2022-04-19 13:25:47 -05:00
transaction_error_metrics.rs Move error counters to be reported by leader only at end of slot (#24581) 2022-04-23 18:10:47 -05:00
vote_account.rs checks account owner when initializing a vote-account (#25018) 2022-05-06 16:22:49 +00:00
vote_parser.rs
vote_sender_types.rs
vote_transaction.rs
waitable_condvar.rs document WaitableCondvar (#24252) 2022-04-11 14:45:23 -05:00