2018-06-06 09:49:22 -06:00
|
|
|
//! The `solana` library implements the Solana high-performance blockchain architecture.
|
2018-06-07 14:51:29 -06:00
|
|
|
//! It includes a full Rust implementation of the architecture (see
|
2019-05-23 22:05:16 -07:00
|
|
|
//! [Validator](server/struct.Validator.html)) as well as hooks to GPU implementations of its most
|
2018-06-07 14:51:29 -06:00
|
|
|
//! paralellizable components (i.e. [SigVerify](sigverify/index.html)). It also includes
|
2019-10-11 13:30:52 -06:00
|
|
|
//! command-line tools to spin up validators and a Rust library
|
2018-06-06 09:49:22 -06:00
|
|
|
//!
|
|
|
|
|
2020-04-06 17:30:23 +09:00
|
|
|
pub mod accounts_background_service;
|
2020-03-16 08:37:31 -07:00
|
|
|
pub mod accounts_hash_verifier;
|
2018-05-14 17:31:13 -06:00
|
|
|
pub mod banking_stage;
|
2019-03-01 20:43:30 -07:00
|
|
|
pub mod broadcast_stage;
|
2019-02-01 05:21:29 +05:30
|
|
|
pub mod cluster_info_vote_listener;
|
2019-11-04 16:44:27 -07:00
|
|
|
pub mod commitment;
|
2020-03-11 21:31:50 -07:00
|
|
|
mod deprecated;
|
2019-10-07 11:08:01 -07:00
|
|
|
pub mod shred_fetch_stage;
|
2019-03-08 19:28:19 -08:00
|
|
|
#[macro_use]
|
|
|
|
pub mod contact_info;
|
2018-11-15 13:23:26 -08:00
|
|
|
pub mod cluster_info;
|
2020-03-11 21:31:50 -07:00
|
|
|
pub mod cluster_slots;
|
2019-06-24 13:41:23 -07:00
|
|
|
pub mod consensus;
|
2019-10-09 16:07:18 -07:00
|
|
|
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_value;
|
2020-03-11 21:31:50 -07:00
|
|
|
pub mod epoch_slots;
|
2018-05-29 11:18:12 -06:00
|
|
|
pub mod fetch_stage;
|
2019-01-25 22:58:35 -07:00
|
|
|
pub mod gen_keys;
|
2018-12-06 13:52:47 -07:00
|
|
|
pub mod gossip_service;
|
2019-07-20 13:13:55 -07:00
|
|
|
pub mod ledger_cleanup_service;
|
2019-01-10 09:21:38 -08:00
|
|
|
pub mod local_vote_signer_service;
|
2018-09-26 05:52:13 -07:00
|
|
|
pub mod poh_recorder;
|
2018-10-25 14:56:21 -07:00
|
|
|
pub mod poh_service;
|
2020-03-26 19:57:27 -07:00
|
|
|
pub mod progress_map;
|
2019-02-07 15:10:54 -08:00
|
|
|
pub mod repair_service;
|
2018-12-07 15:09:29 -07:00
|
|
|
pub mod replay_stage;
|
2020-01-02 20:50:43 -07:00
|
|
|
mod result;
|
2018-08-09 13:03:34 -06:00
|
|
|
pub mod retransmit_stage;
|
2020-02-04 19:50:24 -07:00
|
|
|
pub mod rewards_recorder_service;
|
2018-08-10 17:05:23 -06:00
|
|
|
pub mod rpc;
|
2018-10-12 08:17:28 -07:00
|
|
|
pub mod rpc_pubsub;
|
2019-02-17 10:09:46 -07:00
|
|
|
pub mod rpc_pubsub_service;
|
2019-02-17 10:29:08 -07:00
|
|
|
pub mod rpc_service;
|
2019-02-17 09:38:36 -07:00
|
|
|
pub mod rpc_subscriptions;
|
2020-01-31 14:23:51 -08:00
|
|
|
pub mod serve_repair;
|
|
|
|
pub mod serve_repair_service;
|
2018-05-25 16:52:17 -06:00
|
|
|
pub mod sigverify;
|
2019-10-28 10:29:38 -07:00
|
|
|
pub mod sigverify_shreds;
|
2018-05-25 16:52:17 -06:00
|
|
|
pub mod sigverify_stage;
|
2019-10-18 15:58:16 -06:00
|
|
|
pub mod snapshot_packager_service;
|
2018-10-08 13:12:33 -07:00
|
|
|
pub mod storage_stage;
|
2018-05-14 17:36:19 -06:00
|
|
|
pub mod tpu;
|
2019-11-20 16:43:10 -07:00
|
|
|
pub mod transaction_status_service;
|
2018-05-12 00:31:32 -06:00
|
|
|
pub mod tvu;
|
2019-05-23 22:05:16 -07:00
|
|
|
pub mod validator;
|
2020-03-15 20:31:05 -07:00
|
|
|
pub mod verified_vote_packets;
|
2019-06-01 07:55:43 -07:00
|
|
|
pub mod weighted_shuffle;
|
2018-09-07 16:00:26 -06:00
|
|
|
pub mod window_service;
|
2018-12-08 22:44:20 -07:00
|
|
|
|
2020-04-15 09:41:29 -07:00
|
|
|
#[macro_use]
|
|
|
|
extern crate solana_bpf_loader_program;
|
|
|
|
|
2019-05-14 10:44:16 -07:00
|
|
|
#[macro_use]
|
|
|
|
extern crate solana_budget_program;
|
|
|
|
|
2018-03-07 13:47:13 -08:00
|
|
|
#[macro_use]
|
2018-03-19 10:18:48 -06:00
|
|
|
extern crate log;
|
2018-12-08 22:44:20 -07:00
|
|
|
|
2018-02-20 16:26:11 -07:00
|
|
|
#[macro_use]
|
|
|
|
extern crate serde_derive;
|
2019-05-16 08:23:31 -07:00
|
|
|
|
|
|
|
#[cfg(test)]
|
2018-09-21 15:27:03 -06:00
|
|
|
#[macro_use]
|
2018-03-05 15:34:15 -07:00
|
|
|
extern crate serde_json;
|
2018-12-08 22:44:20 -07:00
|
|
|
|
2019-02-18 23:26:22 -07:00
|
|
|
#[macro_use]
|
|
|
|
extern crate solana_metrics;
|
|
|
|
|
2018-03-07 13:47:13 -08:00
|
|
|
#[cfg(test)]
|
|
|
|
#[macro_use]
|
|
|
|
extern crate matches;
|