👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Expand description
The solana library implements the Solana high-performance blockchain architecture.
It includes a full Rust implementation of the architecture (see
Validator) as well as hooks to GPU implementations of its most
paralellizable components (i.e. SigVerify). It also includes
command-line tools to spin up validators and a Rust library
Modules§
- admin_
rpc_ post_ init Deprecated - banking_
stage Deprecated - The
banking_stageprocesses Transaction messages. It is intended to be used to construct a software pipeline. The stage uses all available CPU cores and can do its processing in parallel with signature verification on the GPU. - banking_
trace Deprecated - cluster_
info_ vote_ listener Deprecated - cluster_
slots_ service Deprecated - commitment_
service Deprecated - completed_
data_ sets_ service Deprecated CompletedDataSetsServiceis a hub, that runs different operations when a “completed data set”, also known as aVec<Entry>, is received by the validator.- consensus
Deprecated - cost_
update_ service Deprecated - this service asynchronously reports CostTracker stats
- drop_
bank_ service Deprecated - fetch_
stage Deprecated - The
fetch_stagebatches input from a UDP socket and sends it to a channel. - forwarding_
stage Deprecated ForwardingStageis a stage parallel toBankingStagethat forwards packets to a node that is or will be leader soon.- gen_
keys Deprecated - The
gen_keysmodule makes lots of keypairs - next_
leader Deprecated - optimistic_
confirmation_ verifier Deprecated - repair
Deprecated - replay_
stage Deprecated - The
replay_stagereplays transactions broadcast by the leader. - resource_
limits Deprecated - sample_
performance_ service Deprecated - sigverify
Deprecated - The
sigverifymodule provides digital signature verification functions. By default, signatures are verified in parallel using all available CPU cores. When perf-libs are available signature verification is offloaded to the GPU. - sigverify_
stage Deprecated - 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 and on a GPU if perf-libs are available - snapshot_
packager_ service Deprecated - staked_
nodes_ updater_ service Deprecated - stats_
reporter_ service Deprecated - system_
monitor_ service Deprecated - tpu
Deprecated - The
tpumodule implements the Transaction Processing Unit, a multi-stage transaction processing pipeline in software. - tvu
Deprecated - The
tvumodule implements the Transaction Validation Unit, a multi-stage transaction validation pipeline in software. - unfrozen_
gossip_ verified_ vote_ hashes Deprecated - validator
Deprecated - The
validatormodule hosts all the validator microservices. - voting_
service Deprecated - warm_
quic_ cache_ service Deprecated - window_
service Deprecated window_servicehandles the data plane incoming shreds, storing them in blockstore and retransmitting where required