2018-06-30 12:00:23 -07:00
|
|
|
|
|
|
|
extern crate clap;
|
2018-07-02 19:36:12 -07:00
|
|
|
extern crate env_logger;
|
2018-06-30 12:00:23 -07:00
|
|
|
#[macro_use] extern crate log;
|
|
|
|
#[macro_use] extern crate failure;
|
|
|
|
extern crate crossbeam;
|
2018-07-08 15:08:37 -07:00
|
|
|
// #[macro_use] extern crate crossbeam_channel;
|
2018-07-02 19:36:12 -07:00
|
|
|
extern crate crypto;
|
|
|
|
extern crate chrono;
|
|
|
|
extern crate num_traits;
|
|
|
|
extern crate num_bigint;
|
2018-07-08 15:08:37 -07:00
|
|
|
#[macro_use] extern crate futures;
|
2018-07-02 19:36:12 -07:00
|
|
|
extern crate tokio;
|
|
|
|
extern crate tokio_codec;
|
2018-07-08 15:08:37 -07:00
|
|
|
extern crate tokio_io;
|
|
|
|
extern crate rand;
|
2018-07-02 19:36:12 -07:00
|
|
|
extern crate bytes;
|
2018-07-08 15:08:37 -07:00
|
|
|
extern crate uuid;
|
|
|
|
extern crate byteorder;
|
|
|
|
#[macro_use] extern crate serde_derive;
|
2018-07-08 16:23:10 -07:00
|
|
|
extern crate serde;
|
|
|
|
extern crate serde_bytes;
|
2018-07-08 15:08:37 -07:00
|
|
|
extern crate bincode;
|
|
|
|
extern crate tokio_serde_bincode;
|
2018-07-12 15:32:39 -07:00
|
|
|
extern crate parking_lot;
|
|
|
|
extern crate clear_on_drop;
|
2018-07-08 15:08:37 -07:00
|
|
|
extern crate hbbft;
|
2018-06-30 12:00:23 -07:00
|
|
|
|
2018-07-08 15:08:37 -07:00
|
|
|
// pub mod network;
|
2018-07-02 19:36:12 -07:00
|
|
|
pub mod hydrabadger;
|
|
|
|
pub mod blockchain;
|
|
|
|
|
2018-07-17 12:52:40 -07:00
|
|
|
pub use hydrabadger::{Hydrabadger};
|
2018-07-11 13:06:20 -07:00
|
|
|
pub use blockchain::{Blockchain, MiningError};
|