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_stageprocesses 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 CompletedDataSetsServiceis 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_stagebatches input from a UDP socket and sends it to a channel. - forwarding_
stage ForwardingStageis a stage parallel toBankingStagethat forwards packets to a node that is or will be leader soon.- gen_
keys - The
gen_keysmodule makes lots of keypairs - next_
leader - optimistic_
confirmation_ verifier - repair
- replay_
stage - The
replay_stagereplays transactions broadcast by the leader. - resource_
limits - sample_
performance_ service - sigverify
- The
sigverifymodule provides digital signature verification functions. By default, signatures are verified in parallel using all available CPU cores. - sigverify_
stage - The
sigverify_stageimplements 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
tpumodule implements the Transaction Processing Unit, a multi-stage transaction processing pipeline in software. - tvu
- The
tvumodule implements the Transaction Validation Unit, a multi-stage transaction validation pipeline in software. - unfrozen_
gossip_ verified_ vote_ hashes - validator
- The
validatormodule hosts all the validator microservices. - vote_
simulator - voting_
service - warm_
quic_ cache_ service - window_
service window_servicehandles the data plane incoming shreds, storing them in blockstore and retransmitting where required