solana/core/src/lib.rs

103 lines
2.2 KiB
Rust
Raw Normal View History

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
//! [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
//! command-line tools to spin up fullnodes and a Rust library
2018-06-06 08:49:22 -07:00
//!
pub mod bank_forks;
pub mod banking_stage;
pub mod blob_fetch_stage;
pub mod broadcast_stage;
pub mod chacha;
#[cfg(cuda)]
pub mod chacha_cuda;
pub mod cluster_info_vote_listener;
pub mod recycler;
2019-03-08 19:28:19 -08:00
#[macro_use]
pub mod contact_info;
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;
#[macro_use]
2019-02-07 20:52:39 -08:00
pub mod blocktree;
pub mod blockstream;
pub mod blockstream_service;
pub mod blocktree_processor;
pub mod cluster;
pub mod cluster_info;
pub mod cluster_info_repair_listener;
pub mod cluster_tests;
pub mod consensus;
pub mod cuda_runtime;
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;
pub mod gen_keys;
pub mod genesis_utils;
pub mod gossip_service;
pub mod leader_schedule;
pub mod leader_schedule_cache;
pub mod leader_schedule_utils;
pub mod local_cluster;
pub mod local_vote_signer_service;
2018-03-26 21:07:11 -07:00
pub mod packet;
pub mod poh;
pub mod poh_recorder;
pub mod poh_service;
pub mod recvmmsg;
pub mod repair_service;
pub mod replay_stage;
pub mod replicator;
pub mod result;
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;
pub mod rpc_pubsub_service;
2019-02-17 09:29:08 -08:00
pub mod rpc_service;
pub mod rpc_subscriptions;
pub mod service;
2018-05-25 15:52:17 -07:00
pub mod sigverify;
pub mod sigverify_stage;
pub mod staking_utils;
pub mod storage_stage;
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;
pub mod tvu;
pub mod validator;
pub mod weighted_shuffle;
2018-09-07 15:00:26 -07:00
pub mod window_service;
#[macro_use]
extern crate solana_budget_program;
#[macro_use]
extern crate solana_storage_program;
#[cfg(test)]
#[macro_use]
extern crate hex_literal;
#[macro_use]
2018-03-19 09:18:48 -07:00
extern crate log;
#[macro_use]
extern crate serde_derive;
#[cfg(test)]
#[macro_use]
extern crate serde_json;
#[macro_use]
extern crate solana_metrics;
#[cfg(test)]
#[macro_use]
extern crate matches;
extern crate crossbeam_channel;