Module bitcoins::types [−][src]
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).
Re-exports
pub use legacy::*; |
pub use script::*; |
pub use tx::*; |
pub use txin::*; |
pub use txout::*; |
pub use utxo::*; |
pub use witness::*; |
Modules
legacy | Legacy Transactions |
script | Simple types for Bitcoin Script Witness stack datastructures, each of which are treated as
opaque, wrapped |
tx | Bitcoin transaction types and associated sighash arguments. |
txin | Bitcoin Outpoint, TxIn, and Vin types. |
txout | Bitcoin TxOut and Vout types. |
utxo | UTXO struct. Holds information necessary for signing future txns. |
witness | Witness Transactions |