Crate solana_core

Crate solana_core 

Source
👎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_initDeprecated
banking_stageDeprecated
The banking_stage processes 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_traceDeprecated
cluster_info_vote_listenerDeprecated
cluster_slots_serviceDeprecated
commitment_serviceDeprecated
completed_data_sets_serviceDeprecated
CompletedDataSetsService is a hub, that runs different operations when a “completed data set”, also known as a Vec<Entry>, is received by the validator.
consensusDeprecated
cost_update_serviceDeprecated
this service asynchronously reports CostTracker stats
drop_bank_serviceDeprecated
fetch_stageDeprecated
The fetch_stage batches input from a UDP socket and sends it to a channel.
forwarding_stageDeprecated
ForwardingStage is a stage parallel to BankingStage that forwards packets to a node that is or will be leader soon.
gen_keysDeprecated
The gen_keys module makes lots of keypairs
next_leaderDeprecated
optimistic_confirmation_verifierDeprecated
repairDeprecated
replay_stageDeprecated
The replay_stage replays transactions broadcast by the leader.
resource_limitsDeprecated
sample_performance_serviceDeprecated
sigverifyDeprecated
The sigverify module 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_stageDeprecated
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 and on a GPU if perf-libs are available
snapshot_packager_serviceDeprecated
staked_nodes_updater_serviceDeprecated
stats_reporter_serviceDeprecated
system_monitor_serviceDeprecated
tpuDeprecated
The tpu module implements the Transaction Processing Unit, a multi-stage transaction processing pipeline in software.
tvuDeprecated
The tvu module implements the Transaction Validation Unit, a multi-stage transaction validation pipeline in software.
unfrozen_gossip_verified_vote_hashesDeprecated
validatorDeprecated
The validator module hosts all the validator microservices.
voting_serviceDeprecated
warm_quic_cache_serviceDeprecated
window_serviceDeprecated
window_service handles the data plane incoming shreds, storing them in blockstore and retransmitting where required