grin/chain/src/lib.rs

27 lines
546 B
Rust
Raw Normal View History

2016-10-21 03:06:12 +03:00
//! The block chain itself, validates and accepts new blocks, handles reorgs.
#![deny(non_upper_case_globals)]
#![deny(non_camel_case_types)]
#![deny(non_snake_case)]
#![deny(unused_mut)]
#![warn(missing_docs)]
#[macro_use]
extern crate bitflags;
extern crate byteorder;
#[macro_use(try_m)]
extern crate grin_core as core;
extern crate grin_store;
extern crate secp256k1zkp as secp;
pub mod pipe;
pub mod store;
pub mod types;
// Re-export the base interface
pub use types::ChainStore;
pub use chain::Options;
pub use chain::process_block;