solana/src/lib.rs

101 lines
2.3 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
2018-08-22 09:42:28 -07:00
//! [Fullnode](server/struct.Fullnode.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
//! (see [ThinClient](thin_client/struct.ThinClient.html)) to interact with them.
2018-06-06 08:49:22 -07:00
//!
2018-02-14 13:19:30 -08:00
#![cfg_attr(feature = "unstable", feature(test))]
2018-05-30 21:24:21 -07:00
#[macro_use]
pub mod counter;
pub mod accounts;
2018-05-14 14:33:11 -07:00
pub mod bank;
pub mod bank_forks;
pub mod banking_stage;
pub mod blob_fetch_stage;
pub mod bloom;
pub mod broadcast_service;
#[cfg(feature = "chacha")]
pub mod chacha;
#[cfg(all(feature = "chacha", feature = "cuda"))]
pub mod chacha_cuda;
pub mod client;
pub mod cluster_info_vote_listener;
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]
pub mod contact_info;
2019-02-07 20:52:39 -08:00
pub mod blocktree;
pub mod blocktree_processor;
pub mod cluster_info;
pub mod db_window;
pub mod entry;
pub mod entry_stream;
pub mod entry_stream_stage;
2018-04-21 06:12:57 -07:00
#[cfg(feature = "erasure")]
pub mod erasure;
2018-05-29 10:18:12 -07:00
pub mod fetch_stage;
2018-07-02 11:20:35 -07:00
pub mod fullnode;
pub mod gen_keys;
2019-01-24 12:04:04 -08:00
pub mod genesis_block;
pub mod gossip_service;
pub mod last_id_queue;
pub mod leader_confirmation_service;
2018-09-24 21:31:20 -07:00
pub mod leader_scheduler;
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;
pub mod rpc_mock;
2018-10-12 08:17:28 -07:00
pub mod rpc_pubsub;
pub mod rpc_pubsub_service;
pub mod rpc_request;
2019-02-17 09:29:08 -08:00
pub mod rpc_service;
pub mod rpc_status;
pub mod rpc_subscriptions;
pub mod service;
2018-05-25 15:52:17 -07:00
pub mod sigverify;
pub mod sigverify_stage;
pub mod status_cache;
pub mod storage_stage;
pub mod streamer;
2018-12-04 15:37:11 -08:00
pub mod test_tx;
pub mod thin_client;
2018-05-14 16:36:19 -07:00
pub mod tpu;
pub mod tpu_forwarder;
pub mod tvu;
pub mod voting_keypair;
#[cfg(test)]
2018-08-09 12:31:34 -07:00
pub mod window;
2018-09-07 15:00:26 -07:00
pub mod window_service;
#[cfg(test)]
#[cfg(any(feature = "chacha", feature = "cuda"))]
#[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;
#[macro_use]
extern crate serde_json;
#[cfg(test)]
#[macro_use]
extern crate matches;