solana/core/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
..
broadcast_stage Check for valid address in broadcast (#28432) 2022-10-19 14:49:22 -05:00
accounts_hash_verifier.rs remove expected rent collection and rehashing completely (#28422) 2022-10-17 07:24:42 -07:00
ancestor_hashes_service.rs enforces hash domain for ping-pong protocol (#28433) 2022-10-18 18:17:12 +00:00
banking_stage.rs Split out voting and banking threads in banking stage (#27931) 2022-10-20 21:10:48 +00:00
broadcast_stage.rs caches reed-solomon encoder/decoder instance (#27510) 2022-09-25 18:09:47 +00:00
cache_block_meta_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
cluster_info_vote_listener.rs Standardize thread names 2022-08-20 07:49:39 -07:00
cluster_nodes.rs tracks number of staked/stale/dead nodes in turbine cluster-nodes (#27915) 2022-09-19 18:16:04 +00:00
cluster_slot_state_verifier.rs Consensus Logging (#28176) 2022-10-03 20:45:55 -05:00
cluster_slots.rs
cluster_slots_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
commitment_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
completed_data_sets_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
consensus.rs typo 2022-10-03 09:41:15 -05:00
cost_update_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
drop_bank_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
duplicate_repair_status.rs Fix derive_partial_eq_without_eq clippy lint 2022-05-22 22:22:21 -07:00
fetch_stage.rs Split out voting and banking threads in banking stage (#27931) 2022-10-20 21:10:48 +00:00
find_packet_sender_stake_stage.rs Standardize thread names 2022-08-20 07:49:39 -07:00
fork_choice.rs
forward_packet_batches_by_accounts.rs Split out voting and banking threads in banking stage (#27931) 2022-10-20 21:10:48 +00:00
gen_keys.rs
heaviest_subtree_fork_choice.rs Allow validators to reset to the slot which matches their last voted slot (#28172) 2022-10-03 16:49:47 +08:00
immutable_deserialized_packet.rs Split out voting and banking threads in banking stage (#27931) 2022-10-20 21:10:48 +00:00
latest_unprocessed_votes.rs Split out voting and banking threads in banking stage (#27931) 2022-10-20 21:10:48 +00:00
latest_validator_votes_for_frozen_banks.rs
leader_slot_banking_stage_metrics.rs Split out voting and banking threads in banking stage (#27931) 2022-10-20 21:10:48 +00:00
leader_slot_banking_stage_timing_metrics.rs forward packets by prioritization in desc order (#25406) 2022-07-05 23:24:58 -05:00
ledger_cleanup_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
ledger_metric_report_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
lib.rs Add structure to house unprocessed transactions in banking_stage (#27777) 2022-09-14 10:40:44 -07:00
optimistic_confirmation_verifier.rs removes erroneous uses of std::mem::swap (#26536) 2022-07-11 11:33:15 +00:00
outstanding_requests.rs enforces that LAST_SHRED_IN_SLOT is also DATA_COMPLETE_SHRED (#24892) 2022-05-02 23:33:53 +00:00
packet_deserializer.rs Add tests for deserialize_and_collect_packets (#27623) 2022-09-07 12:52:18 -05:00
packet_hasher.rs skips shreds deserialization before retransmit (#26230) 2022-06-30 12:13:00 +00:00
packet_threshold.rs fmt (#23448) 2022-03-02 11:54:58 -06:00
poh_timing_report_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
poh_timing_reporter.rs Poh timing service (#23736) 2022-03-30 09:04:49 -05:00
progress_map.rs Report total_transactions in replay-slot-stats (#28382) 2022-10-15 14:07:03 +01:00
qos_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
repair_generic_traversal.rs plumbs through flag to generate merkle variant of shreds 2022-09-23 16:45:18 +00:00
repair_response.rs verifies shred slot and parent in fetch stage (#26225) 2022-06-28 12:45:50 +00:00
repair_service.rs use signed repair request variants (#28283) 2022-10-10 14:09:45 -07:00
repair_weight.rs patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
repair_weighted_traversal.rs patches clippy errors from new rust nightly release (#28028) 2022-09-23 20:57:27 +00:00
replay_stage.rs Report total_transactions in replay-slot-stats (#28382) 2022-10-15 14:07:03 +01:00
request_response.rs
result.rs derives Error trait for ClusterInfoError and core::result::Error (#27208) 2022-08-17 22:01:51 +00:00
retransmit_stage.rs tracks number of staked/stale/dead nodes in turbine cluster-nodes (#27915) 2022-09-19 18:16:04 +00:00
rewards_recorder_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
sample_performance_service.rs
serve_repair.rs enable repair ping/pong cache (#28408) 2022-10-19 14:55:55 -07:00
serve_repair_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
shred_fetch_stage.rs caches reed-solomon encoder/decoder instance (#27510) 2022-09-25 18:09:47 +00:00
sigverify.rs removes erroneous uses of std::mem::swap (#26536) 2022-07-11 11:33:15 +00:00
sigverify_shreds.rs Rust v1.63 (#27303) 2022-08-22 18:01:03 -07:00
sigverify_stage.rs patches clippy errors from new rust nightly release (#28028) 2022-09-23 20:57:27 +00:00
snapshot_packager_service.rs patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
staked_nodes_updater_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
stats_reporter_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
system_monitor_service.rs Increase cpu metric reporting interval from 1s to 10s 2022-10-11 10:44:59 -05:00
tower1_7_14.rs Move vote program state and instructions to solana-program 2022-08-09 20:52:47 -07:00
tower_storage.rs patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
tpu.rs Added option to turn on UDP for TPU transaction and make UDP based TPU off by default (#27462) 2022-09-07 13:19:14 -07:00
tracer_packet_stats.rs tracer-packet-stats reporting should not reset id (#27012) 2022-08-09 06:38:08 -07:00
tree_diff.rs
tvu.rs collect min prioritization fees when replaying sanitized transactions (#26709) 2022-08-31 08:00:55 -05:00
unfrozen_gossip_verified_vote_hashes.rs removes erroneous allow(dead_code) annotations from core (#26660) 2022-07-18 17:15:47 +00:00
unprocessed_packet_batches.rs Split out voting and banking threads in banking stage (#27931) 2022-10-20 21:10:48 +00:00
unprocessed_transaction_storage.rs Split out voting and banking threads in banking stage (#27931) 2022-10-20 21:10:48 +00:00
validator.rs Supports warping with Epoch Accounts Hash (#28459) 2022-10-19 10:37:14 -04:00
verified_vote_packets.rs Only take the latest vote for each validator in gossip (#25934) 2022-07-26 16:38:30 -06:00
vote_simulator.rs Refactor: No need to return stake in Bank::get_vote_account (#26220) 2022-06-25 16:27:43 +00:00
vote_stake_tracker.rs
voting_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
warm_quic_cache_service.rs patches clippy errors from new rust nightly release (#27996) 2022-09-22 22:23:03 +00:00
window_service.rs caches reed-solomon encoder/decoder instance (#27510) 2022-09-25 18:09:47 +00:00