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:
commit
849674651f
17
src/lib.rs
17
src/lib.rs
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue