99 lines
2.5 KiB
Rust
99 lines
2.5 KiB
Rust
#![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(specialization))]
|
|
//! The `solana` library implements the Solana high-performance blockchain architecture.
|
|
//! It includes a full Rust implementation of the architecture (see
|
|
//! [Validator](server/struct.Validator.html)) as well as hooks to GPU implementations of its most
|
|
//! paralellizable components (i.e. [SigVerify](sigverify/index.html)). It also includes
|
|
//! command-line tools to spin up validators and a Rust library
|
|
//!
|
|
|
|
pub mod accounts_background_service;
|
|
pub mod accounts_hash_verifier;
|
|
pub mod banking_stage;
|
|
pub mod bigtable_upload_service;
|
|
pub mod broadcast_stage;
|
|
pub mod cache_block_time_service;
|
|
pub mod cluster_info_vote_listener;
|
|
pub mod commitment_service;
|
|
pub mod completed_data_sets_service;
|
|
mod deprecated;
|
|
pub mod shred_fetch_stage;
|
|
#[macro_use]
|
|
pub mod contact_info;
|
|
pub mod bank_weight_fork_choice;
|
|
pub mod cluster_info;
|
|
pub mod cluster_slots;
|
|
pub mod cluster_slots_service;
|
|
pub mod consensus;
|
|
pub mod crds;
|
|
pub mod crds_gossip;
|
|
pub mod crds_gossip_error;
|
|
pub mod crds_gossip_pull;
|
|
pub mod crds_gossip_push;
|
|
pub mod crds_shards;
|
|
pub mod crds_value;
|
|
pub mod epoch_slots;
|
|
pub mod fetch_stage;
|
|
pub mod fork_choice;
|
|
pub mod gen_keys;
|
|
pub mod gossip_service;
|
|
pub mod heaviest_subtree_fork_choice;
|
|
pub mod ledger_cleanup_service;
|
|
pub mod local_vote_signer_service;
|
|
pub mod non_circulating_supply;
|
|
pub mod optimistic_confirmation_verifier;
|
|
pub mod poh_recorder;
|
|
pub mod poh_service;
|
|
pub mod progress_map;
|
|
pub mod pubkey_references;
|
|
pub mod repair_response;
|
|
pub mod repair_service;
|
|
pub mod repair_weight;
|
|
pub mod repair_weighted_traversal;
|
|
pub mod replay_stage;
|
|
mod result;
|
|
pub mod retransmit_stage;
|
|
pub mod rewards_recorder_service;
|
|
pub mod rpc;
|
|
pub mod rpc_error;
|
|
pub mod rpc_health;
|
|
pub mod rpc_pubsub;
|
|
pub mod rpc_pubsub_service;
|
|
pub mod rpc_service;
|
|
pub mod rpc_subscriptions;
|
|
pub mod send_transaction_service;
|
|
pub mod serve_repair;
|
|
pub mod serve_repair_service;
|
|
pub mod sigverify;
|
|
pub mod sigverify_shreds;
|
|
pub mod sigverify_stage;
|
|
pub mod snapshot_packager_service;
|
|
pub mod tpu;
|
|
pub mod transaction_status_service;
|
|
pub mod tree_diff;
|
|
pub mod tvu;
|
|
pub mod validator;
|
|
pub mod verified_vote_packets;
|
|
pub mod vote_stake_tracker;
|
|
pub mod weighted_shuffle;
|
|
pub mod window_service;
|
|
|
|
#[macro_use]
|
|
extern crate log;
|
|
|
|
#[macro_use]
|
|
extern crate serde_derive;
|
|
|
|
#[cfg(test)]
|
|
#[macro_use]
|
|
extern crate serde_json;
|
|
|
|
#[macro_use]
|
|
extern crate solana_metrics;
|
|
|
|
#[macro_use]
|
|
extern crate solana_sdk_macro_frozen_abi;
|
|
|
|
#[cfg(test)]
|
|
#[macro_use]
|
|
extern crate matches;
|