2018-06-06 08:49:22 -07:00
|
|
|
//! The `solana` library implements the Solana high-performance blockchain architecture.
|
2018-06-07 13:51:29 -07: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 13:51:29 -07:00
|
|
|
//! paralellizable components (i.e. [SigVerify](sigverify/index.html)). It also includes
|
2019-10-11 12:30:52 -07:00
|
|
|
//! command-line tools to spin up validators and a Rust library
|
2018-06-06 08:49:22 -07:00
|
|
|
//!
|
|
|
|
|
2019-02-16 19:58:07 -08:00
|
|
|
pub mod bank_forks;
|
2018-05-14 16:31:13 -07:00
|
|
|
pub mod banking_stage;
|
2019-10-09 16:07:18 -07:00
|
|
|
#[macro_use]
|
|
|
|
pub mod blocktree;
|
2019-03-01 19:43:30 -08:00
|
|
|
pub mod broadcast_stage;
|
2018-09-27 10:48:40 -07:00
|
|
|
pub mod chacha;
|
2018-10-08 13:12:33 -07:00
|
|
|
pub mod chacha_cuda;
|
2019-01-31 15:51:29 -08:00
|
|
|
pub mod cluster_info_vote_listener;
|
2019-09-04 23:10:25 -07:00
|
|
|
pub mod confidence;
|
2019-09-26 13:36:51 -07:00
|
|
|
pub mod perf_libs;
|
2019-06-27 00:32:32 -07:00
|
|
|
pub mod recycler;
|
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;
|
2019-02-28 07:46:42 -08:00
|
|
|
pub mod blockstream;
|
|
|
|
pub mod blockstream_service;
|
2019-02-16 02:26:21 -08:00
|
|
|
pub mod blocktree_processor;
|
2018-11-15 13:23:26 -08:00
|
|
|
pub mod cluster_info;
|
2019-05-23 03:10:16 -07:00
|
|
|
pub mod cluster_info_repair_listener;
|
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;
|
2019-06-27 00:32:32 -07:00
|
|
|
pub mod cuda_runtime;
|
2018-03-06 16:31:17 -08:00
|
|
|
pub mod entry;
|
2018-04-21 06:12:57 -07:00
|
|
|
pub mod erasure;
|
2018-05-29 10:18:12 -07:00
|
|
|
pub mod fetch_stage;
|
2019-01-25 21:58:35 -08:00
|
|
|
pub mod gen_keys;
|
2019-05-07 11:16:22 -07:00
|
|
|
pub mod genesis_utils;
|
2018-12-06 12:52:47 -08:00
|
|
|
pub mod gossip_service;
|
2019-02-26 07:44:24 -08:00
|
|
|
pub mod leader_schedule;
|
2019-04-19 02:39:44 -07:00
|
|
|
pub mod leader_schedule_cache;
|
2019-02-27 14:41:46 -08:00
|
|
|
pub mod leader_schedule_utils;
|
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-03-26 21:07:11 -07:00
|
|
|
pub mod packet;
|
2018-09-20 15:02:24 -07:00
|
|
|
pub mod poh;
|
2018-09-26 05:52:13 -07:00
|
|
|
pub mod poh_recorder;
|
2018-10-25 14:56:21 -07:00
|
|
|
pub mod poh_service;
|
2018-09-13 14:41:28 -07:00
|
|
|
pub mod recvmmsg;
|
2019-02-07 15:10:54 -08:00
|
|
|
pub mod repair_service;
|
2018-12-07 14:09:29 -08:00
|
|
|
pub mod replay_stage;
|
2018-09-21 15:32:15 -07:00
|
|
|
pub mod replicator;
|
2018-03-07 13:47:13 -08:00
|
|
|
pub mod result;
|
2018-08-09 12:03:34 -07:00
|
|
|
pub mod retransmit_stage;
|
2018-08-10 16:05:23 -07:00
|
|
|
pub mod rpc;
|
2018-10-12 08:17:28 -07:00
|
|
|
pub mod rpc_pubsub;
|
2019-02-17 09:09:46 -08:00
|
|
|
pub mod rpc_pubsub_service;
|
2019-02-17 09:29:08 -08:00
|
|
|
pub mod rpc_service;
|
2019-02-17 08:38:36 -08:00
|
|
|
pub mod rpc_subscriptions;
|
2019-10-09 17:06:56 -07:00
|
|
|
pub mod sendmmsg;
|
2018-07-03 21:14:08 -07:00
|
|
|
pub mod service;
|
2019-08-02 15:53:42 -07:00
|
|
|
pub mod shred;
|
2018-05-25 15:52:17 -07:00
|
|
|
pub mod sigverify;
|
|
|
|
pub mod sigverify_stage;
|
2019-07-31 17:58:10 -07:00
|
|
|
pub mod snapshot_package;
|
|
|
|
pub mod snapshot_utils;
|
2019-02-28 13:15:25 -08:00
|
|
|
pub mod staking_utils;
|
2018-10-08 13:12:33 -07:00
|
|
|
pub mod storage_stage;
|
2018-03-26 21:03:26 -07:00
|
|
|
pub mod streamer;
|
2018-12-04 15:37:11 -08:00
|
|
|
pub mod test_tx;
|
2018-05-14 16:36:19 -07:00
|
|
|
pub mod tpu;
|
2018-05-11 23:31:32 -07:00
|
|
|
pub mod tvu;
|
2019-05-23 22:05:16 -07:00
|
|
|
pub mod validator;
|
2019-08-07 19:06:27 -07:00
|
|
|
pub(crate) mod version;
|
2019-06-01 07:55:43 -07:00
|
|
|
pub mod weighted_shuffle;
|
2018-09-07 15:00:26 -07:00
|
|
|
pub mod window_service;
|
2018-12-08 21:44:20 -08:00
|
|
|
|
2019-09-26 13:36:51 -07:00
|
|
|
#[macro_use]
|
|
|
|
extern crate dlopen_derive;
|
|
|
|
|
2019-05-14 10:44:16 -07:00
|
|
|
#[macro_use]
|
|
|
|
extern crate solana_budget_program;
|
|
|
|
|
2019-06-11 10:27:22 -07:00
|
|
|
extern crate solana_storage_program;
|
|
|
|
|
2018-10-19 10:39:13 -07:00
|
|
|
#[cfg(test)]
|
|
|
|
#[macro_use]
|
|
|
|
extern crate hex_literal;
|
2018-12-08 21:44:20 -08:00
|
|
|
|
2018-03-07 13:47:13 -08:00
|
|
|
#[macro_use]
|
2018-03-19 09:18:48 -07:00
|
|
|
extern crate log;
|
2018-12-08 21:44:20 -08:00
|
|
|
|
2018-02-20 15:26:11 -08:00
|
|
|
#[macro_use]
|
|
|
|
extern crate serde_derive;
|
2019-05-16 08:23:31 -07:00
|
|
|
|
|
|
|
#[cfg(test)]
|
2018-09-21 14:27:03 -07:00
|
|
|
#[macro_use]
|
2018-03-05 14:34:15 -08:00
|
|
|
extern crate serde_json;
|
2018-12-08 21:44:20 -08:00
|
|
|
|
2019-02-18 22:26:22 -08:00
|
|
|
#[macro_use]
|
|
|
|
extern crate solana_metrics;
|
|
|
|
|
2018-03-07 13:47:13 -08:00
|
|
|
#[cfg(test)]
|
|
|
|
#[macro_use]
|
|
|
|
extern crate matches;
|
2019-06-26 18:42:27 -07:00
|
|
|
|
2019-08-14 19:25:22 -07:00
|
|
|
extern crate bzip2;
|
2019-06-26 18:42:27 -07:00
|
|
|
extern crate crossbeam_channel;
|
2019-07-31 17:58:10 -07:00
|
|
|
extern crate dir_diff;
|
|
|
|
extern crate fs_extra;
|
2019-08-14 23:14:40 -07:00
|
|
|
extern crate symlink;
|
2019-07-31 17:58:10 -07:00
|
|
|
extern crate tar;
|
|
|
|
extern crate tempfile;
|