From 97c1773ec9cec45c2f0883a34aaefe345c82addf Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Tue, 28 Aug 2018 15:57:46 +0000 Subject: [PATCH] `pub use` a ton of stuff at the top level --- src/lib.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index c84b7683..d2f7da80 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; +