Cleanup top-level lib doc
This commit is contained in:
parent
928e6165bc
commit
8bd10e7c4c
|
@ -1,7 +1,9 @@
|
||||||
//! The `solana` library implements the Solana high-performance blockchain architecture.
|
//! 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
|
//! It includes a full Rust implementation of the architecture (see
|
||||||
//! implementations of its most paralellizable components. It also includes command-line
|
//! [Server](server/struct.Server.html)) as well as hooks to GPU implementations of its most
|
||||||
//! tools to spin up fullnodes and a Rust library `thin_client` to interact with them.
|
//! 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))]
|
#![cfg_attr(feature = "unstable", feature(test))]
|
||||||
|
|
|
@ -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 packet::{Packet, SharedPackets};
|
||||||
use std::mem::size_of;
|
use std::mem::size_of;
|
||||||
use transaction::{PUB_KEY_OFFSET, SIGNED_DATA_OFFSET, SIG_OFFSET};
|
use transaction::{PUB_KEY_OFFSET, SIGNED_DATA_OFFSET, SIG_OFFSET};
|
||||||
|
|
|
@ -12,6 +12,7 @@ use std::io;
|
||||||
use std::net::{SocketAddr, UdpSocket};
|
use std::net::{SocketAddr, UdpSocket};
|
||||||
use transaction::Transaction;
|
use transaction::Transaction;
|
||||||
|
|
||||||
|
/// An object for querying and sending transactions to the network.
|
||||||
pub struct ThinClient {
|
pub struct ThinClient {
|
||||||
requests_addr: SocketAddr,
|
requests_addr: SocketAddr,
|
||||||
requests_socket: UdpSocket,
|
requests_socket: UdpSocket,
|
||||||
|
|
Loading…
Reference in New Issue