Skip to main content

Crate solana_core

Crate solana_core 

Source
Expand description

The solana library implements the Solana high-performance blockchain architecture. It includes a full Rust implementation of the architecture (see Validator)). It also includes command-line tools to spin up validators and a Rust library

Modulesยง

admin_rpc_post_init
banking_simulation
banking_stage
The banking_stage processes Transaction messages. It is intended to be used to construct a software pipeline.
banking_trace
cluster_info_vote_listener
cluster_slots_service
commitment_service
completed_data_sets_service
CompletedDataSetsService is a hub that runs different operations when a completed data set is received by the validator.
consensus
cost_update_service
this service asynchronously reports CostTracker stats
drop_bank_service
epoch_specs
fetch_stage
The fetch_stage batches input from a UDP socket and sends it to a channel.
forwarding_stage
ForwardingStage is a stage parallel to BankingStage that forwards packets to a node that is or will be leader soon.
gen_keys
The gen_keys module makes lots of keypairs
next_leader
optimistic_confirmation_verifier
repair
replay_stage
The replay_stage replays transactions broadcast by the leader.
resource_limits
sample_performance_service
sigverify
The sigverify module provides digital signature verification functions. By default, signatures are verified in parallel using all available CPU cores.
sigverify_stage
The sigverify_stage implements the signature verification stage of the TPU. It receives a list of lists of packets and outputs the same list, but tags each top-level list with a list of booleans, telling the next stage whether the signature in that packet is valid. It assumes each packet contains one transaction. All processing is done on the CPU by default.
snapshot_packager_service
staked_nodes_updater_service
stats_reporter_service
system_monitor_service
tpu
The tpu module implements the Transaction Processing Unit, a multi-stage transaction processing pipeline in software.
tvu
The tvu module implements the Transaction Validation Unit, a multi-stage transaction validation pipeline in software.
unfrozen_gossip_verified_vote_hashes
validator
The validator module hosts all the validator microservices.
vote_simulator
voting_service
warm_quic_cache_service
window_service
window_service handles the data plane incoming shreds, storing them in blockstore and retransmitting where required