Merge pull request #157 from rust-bitcoin/2018-08-pub-use

`pub use` a ton of stuff at the top level
This commit is contained in:
Andrew Poelstra 2018-08-28 17:13:40 +00:00 committed by GitHub
commit 849674651f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -62,3 +62,20 @@ pub mod macros;
pub mod network; pub mod network;
pub mod blockdata; pub mod blockdata;
pub mod util; pub mod util;
pub use blockdata::block::Block;
pub use blockdata::block::BlockHeader;
pub use blockdata::script::Script;
pub use blockdata::transaction::Transaction;
pub use blockdata::transaction::TxIn;
pub use blockdata::transaction::TxOut;
pub use blockdata::transaction::OutPoint;
pub use blockdata::transaction::SigHashType;
pub use network::encodable::VarInt;
pub use network::serialize::BitcoinHash;
pub use util::Error;
pub use util::address::Address;
pub use util::privkey::Privkey;
pub use util::decimal::Decimal;
pub use util::decimal::UDecimal;