solana/core/src
Alexander Meißner 7200c5106e
Replaces MockInvokeContext by ThisInvokeContext in tests (#20881)
* Replaces MockInvokeContext by ThisInvokeContext in BpfLoader, SystemInstructionProcessor, CLIs, ConfigProcessor, StakeProcessor and VoteProcessor.

* Finally, removes MockInvokeContext, MockComputeMeter and MockLogger.

* Adjusts assert_instruction_count test.

* Moves ThisInvokeContext to the program-runtime crate.
2021-11-04 21:47:32 +01:00
..
broadcast_stage revises turbine peers shuffling order (#20480) 2021-10-14 15:09:36 +00:00
accounts_hash_verifier.rs add cli for --accounts-hash-num-passes (#20827) 2021-10-25 09:45:46 -05:00
ancestor_hashes_service.rs Retry `SampleNotDuplicateConfirmed` decisions in AncestorHashesService (#20240) 2021-10-15 11:40:03 -07:00
banking_stage.rs Simplify replay vote tracking by using packet metadata (#21112) 2021-11-03 09:02:48 +00:00
broadcast_stage.rs revises turbine peers shuffling order (#20480) 2021-10-14 15:09:36 +00:00
cache_block_meta_service.rs Add block height to ConfirmedBlock structs (#17523) 2021-05-26 22:16:16 -06:00
cluster_info_vote_listener.rs Tpu vote 1.7 (#20187) (#20494) 2021-10-07 09:38:23 +00:00
cluster_nodes.rs adds metrics tracking crds writes and votes (#20953) 2021-10-26 13:02:30 +00:00
cluster_slot_state_verifier.rs Add EpochSlots frozen state transition (#19112) 2021-08-13 14:21:52 -07:00
cluster_slots.rs discards epoch-slots epochs ahead of the current root (#19256) 2021-08-17 13:13:28 +00:00
cluster_slots_service.rs updates cluster-slots with root-bank instead of root-slot + bank-forks 2021-08-05 14:43:06 +00:00
commitment_service.rs implements copy-on-write for vote-accounts (#19362) 2021-08-30 15:54:01 +00:00
completed_data_sets_service.rs Move entry/poh to own crate to speed up poh bench build (#18225) 2021-07-14 14:16:29 +02:00
consensus.rs Resolve nightly-2021-10-05 clippy complaints 2021-10-06 10:37:58 -07:00
cost_update_service.rs Replaces MockInvokeContext by ThisInvokeContext in tests (#20881) 2021-11-04 21:47:32 +01:00
duplicate_repair_status.rs Retry `SampleNotDuplicateConfirmed` decisions in AncestorHashesService (#20240) 2021-10-15 11:40:03 -07:00
fetch_stage.rs Clippy 2021-10-23 08:21:20 +00:00
fork_choice.rs Add frozen hashes and marking DuplicateConfirmed in blockstore to state machine (#18648) 2021-07-18 17:04:25 -07:00
gen_keys.rs
heaviest_subtree_fork_choice.rs add _for_tests to setup_bank_and_vote_pubkeys (#19060) 2021-08-05 08:43:35 -05:00
latest_validator_votes_for_frozen_banks.rs Introduce slot dumping to ReplayStage (#18160) 2021-07-08 19:07:32 -07:00
ledger_cleanup_service.rs Fix shreds-to-hours/days estimations (#19477) 2021-08-30 13:16:06 -06:00
lib.rs Move test-validator to own module to reduce core dependencies (#20658) 2021-10-29 01:27:07 +00:00
optimistic_confirmation_verifier.rs Actively manage dead slots in AncestorHashesService (#18912) 2021-08-02 14:33:28 -07:00
outstanding_requests.rs Introduce AncestorHashesService (#18812) 2021-07-23 16:54:47 -07:00
packet_hasher.rs sends shreds (instead of packets) to retransmit stage 2021-08-17 13:44:10 +00:00
progress_map.rs Report timing info for stakes cache updates from txs (#20856) 2021-10-22 12:49:02 -04:00
repair_response.rs Add AncestorHashesRepair type (#18681) 2021-07-15 19:29:53 -07:00
repair_service.rs allows sendmmsg api taking owned values (as well as references) (#18999) 2021-07-30 20:58:49 +00:00
repair_weight.rs add _for_tests to setup_bank_and_vote_pubkeys (#19060) 2021-08-05 08:43:35 -05:00
repair_weighted_traversal.rs add _for_tests to setup_bank_and_vote_pubkeys (#19060) 2021-08-05 08:43:35 -05:00
replay_stage.rs - cost_tracker is data member of a bank, it can report metrics when bank is frozen (#20802) 2021-10-24 22:19:23 -05:00
request_response.rs
result.rs Drop Error suffix from enum values to avoid the enum_variant_names clippy lint 2021-06-18 23:02:13 +00:00
retransmit_stage.rs adds metrics for number of outgoing shreds in retransmit stage (#20882) 2021-10-24 13:12:27 +00:00
rewards_recorder_service.rs Record vote account commission with voting/staking rewards and surface in RPC 2021-07-12 15:09:44 -07:00
sample_performance_service.rs
serve_repair.rs Tpu vote 1.7 (#20187) (#20494) 2021-10-07 09:38:23 +00:00
serve_repair_service.rs adds validator flag to allow private ip addresses (#18850) 2021-07-23 15:25:03 +00:00
shred_fetch_stage.rs Resolve nightly-2021-10-05 clippy complaints 2021-10-06 10:37:58 -07:00
sigverify.rs Tpu vote 1.7 (#20187) (#20494) 2021-10-07 09:38:23 +00:00
sigverify_shreds.rs for all tests, bank::new -> bank::new_for_tests (#19064) 2021-08-05 08:42:38 -05:00
sigverify_stage.rs Prune sigverify queue (#20331) 2021-09-30 05:41:05 +02:00
snapshot_packager_service.rs disable gossip publish of snapshots when using filler accts (#20824) 2021-10-20 18:07:29 +00:00
system_monitor_service.rs report udp stats from validator (#20587) 2021-10-15 15:11:11 -07:00
tower_storage.rs Add EtcdTowerStorage 2021-08-14 09:46:36 -07:00
tpu.rs - make cost_tracker a member of bank, remove shared instance from TPU; (#20627) 2021-10-19 14:37:33 -05:00
tree_diff.rs
tvu.rs - cost_tracker is data member of a bank, it can report metrics when bank is frozen (#20802) 2021-10-24 22:19:23 -05:00
unfrozen_gossip_verified_vote_hashes.rs Introduce slot dumping to ReplayStage (#18160) 2021-07-08 19:07:32 -07:00
validator.rs Move test-validator to own module to reduce core dependencies (#20658) 2021-10-29 01:27:07 +00:00
verified_vote_packets.rs Drop Error suffix from enum values to avoid the enum_variant_names clippy lint 2021-06-18 23:02:13 +00:00
vote_simulator.rs Add EpochSlots frozen state transition (#19112) 2021-08-13 14:21:52 -07:00
vote_stake_tracker.rs
voting_service.rs Tpu vote 1.7 (#20187) (#20494) 2021-10-07 09:38:23 +00:00
window_service.rs Add additional checks for should_retransmit_and_persist() (#20672) 2021-11-03 02:01:07 -05:00