`pub use` a ton of stuff at the top level

This commit is contained in:
Andrew Poelstra 2018-08-28 15:57:46 +00:00
parent 592935b2da
commit 97c1773ec9
1 changed files with 17 additions and 0 deletions

View File

@ -62,3 +62,20 @@ pub mod macros;
pub mod network;
pub mod blockdata;
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;