solana_core/
lib.rs

1#![cfg_attr(feature = "frozen-abi", feature(min_specialization))]
2#![allow(clippy::arithmetic_side_effects)]
3#![recursion_limit = "2048"]
4//! The `solana` library implements the Solana high-performance blockchain architecture.
5//! It includes a full Rust implementation of the architecture (see
6//! [Validator](validator/struct.Validator.html)) as well as hooks to GPU implementations of its most
7//! paralellizable components (i.e. [SigVerify](sigverify/index.html)).  It also includes
8//! command-line tools to spin up validators and a Rust library
9//!
10
11pub mod accounts_hash_verifier;
12pub mod admin_rpc_post_init;
13pub mod banking_simulation;
14pub mod banking_stage;
15pub mod banking_trace;
16pub mod cache_block_meta_service;
17pub mod cluster_info_vote_listener;
18pub mod cluster_slots_service;
19pub mod commitment_service;
20pub mod completed_data_sets_service;
21pub mod consensus;
22pub mod cost_update_service;
23pub mod drop_bank_service;
24pub mod fetch_stage;
25pub mod gen_keys;
26pub mod next_leader;
27pub mod optimistic_confirmation_verifier;
28pub mod poh_timing_report_service;
29pub mod poh_timing_reporter;
30pub mod repair;
31pub mod replay_stage;
32mod result;
33pub mod rewards_recorder_service;
34pub mod sample_performance_service;
35mod shred_fetch_stage;
36pub mod sigverify;
37pub mod sigverify_stage;
38pub mod snapshot_packager_service;
39pub mod staked_nodes_updater_service;
40pub mod stats_reporter_service;
41pub mod system_monitor_service;
42pub mod tpu;
43mod tpu_entry_notifier;
44pub mod tracer_packet_stats;
45pub mod tvu;
46pub mod unfrozen_gossip_verified_vote_hashes;
47pub mod validator;
48pub mod vote_simulator;
49pub mod voting_service;
50pub mod warm_quic_cache_service;
51pub mod window_service;
52
53#[macro_use]
54extern crate log;
55
56#[macro_use]
57extern crate serde_derive;
58
59#[macro_use]
60extern crate solana_metrics;
61
62#[cfg_attr(feature = "frozen-abi", macro_use)]
63#[cfg(feature = "frozen-abi")]
64extern crate solana_frozen_abi_macro;
65
66#[cfg(test)]
67#[macro_use]
68extern crate assert_matches;