Cleanup top-level lib doc

This commit is contained in:
Greg Fitzgerald 2018-06-07 14:51:29 -06:00
parent 928e6165bc
commit 8bd10e7c4c
3 changed files with 12 additions and 3 deletions

View File

@ -1,7 +1,9 @@
//! The `solana` library implements the Solana high-performance blockchain architecture.
//! It includes a full Rust implementation of the architecture as well as hooks to GPU
//! implementations of its most paralellizable components. It also includes command-line
//! tools to spin up fullnodes and a Rust library `thin_client` to interact with them.
//! It includes a full Rust implementation of the architecture (see
//! [Server](server/struct.Server.html)) as well as hooks to GPU implementations of its most
//! 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.
//!
#![cfg_attr(feature = "unstable", feature(test))]

View File

@ -1,3 +1,9 @@
//! The `sigverify` module provides digital signature verification functions.
//! By default, signatures are verified in parallel using all available CPU
//! cores. When `--features=cuda` is enabled, signature verification is
//! offloaded to the GPU.
//!
use packet::{Packet, SharedPackets};
use std::mem::size_of;
use transaction::{PUB_KEY_OFFSET, SIGNED_DATA_OFFSET, SIG_OFFSET};

View File

@ -12,6 +12,7 @@ use std::io;
use std::net::{SocketAddr, UdpSocket};
use transaction::Transaction;
/// An object for querying and sending transactions to the network.
pub struct ThinClient {
requests_addr: SocketAddr,
requests_socket: UdpSocket,