The terms Stub and Skel come from OMG IDL and only made sense while the Stub was acting as an RPC client for the the Accountant object. Nowadays, the Stub interface looks nothing like the Accountant and meanwhile we've recognized the multithreaded implementation is more reminiscent of a pipelined CPU. Thus, we finally bite the bullet and rename our modules. AccountantSkel -> Tpu AccountantStub -> ThinClient Up next will be moving much of the TPU code into separate modules, each representing a stage of the pipeline. The interface of each will follow the precedent set by the Historian object.
47 lines
829 B
Rust
47 lines
829 B
Rust
#![cfg_attr(feature = "unstable", feature(test))]
|
|
pub mod accountant;
|
|
pub mod crdt;
|
|
pub mod ecdsa;
|
|
pub mod entry;
|
|
#[cfg(feature = "erasure")]
|
|
pub mod erasure;
|
|
pub mod event;
|
|
pub mod hash;
|
|
pub mod historian;
|
|
pub mod ledger;
|
|
pub mod logger;
|
|
pub mod mint;
|
|
pub mod packet;
|
|
pub mod plan;
|
|
pub mod recorder;
|
|
pub mod result;
|
|
pub mod signature;
|
|
pub mod streamer;
|
|
pub mod thin_client;
|
|
pub mod timing;
|
|
pub mod transaction;
|
|
pub mod tpu;
|
|
extern crate bincode;
|
|
extern crate byteorder;
|
|
extern crate chrono;
|
|
extern crate generic_array;
|
|
extern crate libc;
|
|
#[macro_use]
|
|
extern crate log;
|
|
extern crate rayon;
|
|
extern crate ring;
|
|
extern crate serde;
|
|
#[macro_use]
|
|
extern crate serde_derive;
|
|
extern crate serde_json;
|
|
extern crate sha2;
|
|
extern crate untrusted;
|
|
|
|
extern crate futures;
|
|
|
|
#[cfg(test)]
|
|
#[macro_use]
|
|
extern crate matches;
|
|
|
|
extern crate rand;
|