1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! Holds Bitcoin specific types, including scripts, witnesses, inputs, outputs, and transactions.
//! Extends the `Transaction` trait to maintain a type distinction between Legacy and Witness
//! transactions (and allow conversion from one to the other).

pub mod legacy;
pub mod script;
pub mod tx;
pub mod txin;
pub mod txout;
pub mod utxo;
pub mod witness;

pub use legacy::*;
pub use script::*;
pub use tx::*;
pub use txin::*;
pub use txout::*;
pub use utxo::*;
pub use witness::*;