solana/runtime/src
Ashwin Sekar f207af765e
Split out voting and banking threads in banking stage (#27931)
* Split out voting and banking threads in banking stage

Additionally this allows us to aggressively prune the buffer for voting threads
as with the new vote state only the latest vote from each validator is
necessary.

* Update local cluster test to use new Vote ix

* Encapsulate transaction storage filtering better

* Address pr comments

* Commit cargo lock change

* clippy

* Remove unsafe impls

* pr comments

* compute_sanitized_transaction -> build_sanitized_transaction

* &Arc -> Arc

* Move test

* Refactor metrics enums

* clippy
2022-10-20 21:10:48 +00: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 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 remove unnecessary clones (#28406) 2022-10-16 20:33:07 -07:00
snapshot_package Converts PendingAccountsPackage to a channel (#28352) 2022-10-13 12:47:36 -04:00
snapshot_utils Use regex in get_snapshot_file_kind (#27728) 2022-09-22 13:55:48 -05: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 remove slot# from account hash (#28405) 2022-10-18 08:03:37 -07:00
accounts_background_service.rs Waits to handle snapshot requests until after startup verification is complete (#28481) 2022-10-19 13:39:47 -04:00
accounts_cache.rs remove slot# from account hash (#28405) 2022-10-18 08:03:37 -07:00
accounts_db.rs reuse update_shrink_stats for combine_ancient_slots (#28466) 2022-10-19 14:17:34 -07:00
accounts_hash.rs accounts hash calculation uses files instead of memory (#28065) 2022-10-18 07:51:38 -07:00
accounts_index.rs patches clippy errors from new rust nightly release (#28028) 2022-09-23 20:57:27 +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 concept of 'full' ancient append vec (#28449) 2022-10-18 15:08:04 -07:00
append_vec.rs patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
bank.rs Split out voting and banking threads in banking stage (#27931) 2022-10-20 21:10:48 +00:00
bank_client.rs Standardize thread names 2022-08-20 07:49:39 -07:00
bank_forks.rs Supports warping with Epoch Accounts Hash (#28459) 2022-10-19 10:37:14 -04:00
bank_utils.rs
block_cost_limits.rs Add assertions for computed block cost limit constants (#28056) 2022-09-26 12:50:31 +00: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 add stats for disk_index_find_entry_mut_us (#26753) 2022-07-25 14:47:17 -05:00
builtins.rs clean feature: `prevent_calling_precompiles_as_programs` (#27100) 2022-08-18 05:21:16 +00:00
cache_hash_data.rs accounts hash calculation uses files instead of memory (#28065) 2022-10-18 07:51:38 -07:00
cache_hash_data_stats.rs
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 fix duplicate local variable (#28093) 2022-09-27 08:48:05 -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
read_only_accounts_cache.rs Add stats for readonly cache evicts (#26938) 2022-08-15 16:23:37 -05:00
rent_collector.rs preserves rent_epoch for rent exempt accounts (#26479) 2022-07-08 20:04:08 +00: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 suppress large debug message on test (#27646) 2022-09-08 07:01:01 -07: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 Bank::freeze() waits for EAH calculation to complete (#28170) 2022-10-05 17:44:35 -04:00
shared_buffer_reader.rs Standardize thread names 2022-08-20 07:49:39 -07:00
snapshot_archive_info.rs
snapshot_config.rs Add SnapshotUsage to SnapshotConfig (#27508) 2022-09-02 08:56:23 -04:00
snapshot_hash.rs
snapshot_minimizer.rs combine sort into get_unique_accounts_from_storages (#28450) 2022-10-18 11:52:48 -07:00
snapshot_package.rs remove expected rent collection and rehashing completely (#28422) 2022-10-17 07:24:42 -07:00
snapshot_utils.rs Converts PendingAccountsPackage to a channel (#28352) 2022-10-13 12:47:36 -04: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 slot# from account hash (#28405) 2022-10-18 08:03:37 -07: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 report additional transaction errors to metrics (#28285) 2022-10-07 10:36:22 -05:00
transaction_priority_details.rs Add feature gate to remove support for RequestUnitsDeprecated instruction (#27503) 2022-09-09 22:24:21 +00: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 uses varint encoding for vote-state lockout offsets 2022-09-12 16:31:20 +00:00
vote_sender_types.rs
vote_transaction.rs
waitable_condvar.rs