solana/src/lib.rs

111 lines
2.5 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;
2018-05-14 14:33:11 -07:00
pub mod bank;
pub mod banking_stage;
pub mod blob_fetch_stage;
pub mod broadcast_stage;
2018-05-29 12:28:07 -07:00
pub mod budget;
2018-06-26 14:43:20 -07:00
pub mod choose_gossip_peer_strategy;
pub mod client;
pub mod instruction;
#[macro_use]
2018-04-21 11:02:49 -07:00
pub mod crdt;
2018-09-19 17:25:57 -07:00
pub mod budget_program;
pub mod drone;
pub mod entry;
pub mod entry_writer;
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 hash;
pub mod ledger;
2018-04-28 00:31:20 -07:00
pub mod logger;
2018-07-05 21:40:09 -07:00
pub mod metrics;
pub mod mint;
2018-06-07 15:06:32 -07:00
pub mod ncp;
pub mod netutil;
2018-03-26 21:07:11 -07:00
pub mod packet;
2018-05-29 12:55:21 -07:00
pub mod payment_plan;
pub mod poh;
pub mod poh_service;
pub mod record_stage;
pub mod recorder;
pub mod recvmmsg;
pub mod recycler;
2018-05-22 15:18:07 -07:00
pub mod replicate_stage;
pub mod replicator;
pub mod request;
pub mod request_processor;
2018-05-12 09:31:28 -07:00
pub mod request_stage;
pub mod result;
pub mod retransmit_stage;
2018-08-10 16:05:23 -07:00
pub mod rpc;
2018-05-12 09:53:25 -07:00
pub mod rpu;
pub mod service;
pub mod signature;
2018-05-25 15:52:17 -07:00
pub mod sigverify;
pub mod sigverify_stage;
pub mod storage_program;
pub mod store_ledger_stage;
pub mod streamer;
2018-09-19 17:25:57 -07:00
pub mod system_program;
pub mod thin_client;
pub mod timing;
2018-05-14 16:36:19 -07:00
pub mod tpu;
2018-05-08 17:59:01 -07:00
pub mod transaction;
pub mod tvu;
pub mod vote_stage;
pub mod wallet;
2018-08-09 12:31:34 -07:00
pub mod window;
2018-09-07 15:00:26 -07:00
pub mod window_service;
pub mod write_stage;
extern crate bincode;
extern crate bs58;
extern crate byteorder;
extern crate bytes;
extern crate chrono;
extern crate clap;
extern crate dirs;
extern crate generic_array;
2018-09-19 18:33:40 -07:00
extern crate ipnetwork;
extern crate itertools;
2018-08-13 12:59:04 -07:00
extern crate jsonrpc_core;
2018-08-10 16:05:23 -07:00
#[macro_use]
extern crate jsonrpc_macros;
extern crate jsonrpc_http_server;
extern crate libc;
#[macro_use]
2018-03-19 09:18:48 -07:00
extern crate log;
extern crate nix;
2018-09-14 15:31:54 -07:00
extern crate pnet_datalink;
2018-02-14 13:19:30 -08:00
extern crate rayon;
extern crate reqwest;
extern crate ring;
extern crate serde;
#[macro_use]
extern crate serde_derive;
extern crate serde_json;
extern crate sha2;
extern crate socket2;
2018-08-10 15:59:41 -07:00
extern crate sys_info;
extern crate tokio;
extern crate tokio_codec;
extern crate untrusted;
#[cfg(test)]
#[macro_use]
extern crate matches;
2018-07-05 21:40:09 -07:00
extern crate influx_db_client;
extern crate rand;