Expand description
Bitcoin Outpoint, TxIn, and Vin types.
Structs
An Outpoint. This is a unique identifier for a UTXO, and is composed of a transaction ID (in Bitcoin-style LE format), and the index of the output being spent within that transactions output vectour (vout).
An TxInput. This data structure contains an outpoint referencing an existing UTXO, a
script_sig
, which will contain spend authorization information (when spending a Legacy or
Witness-via-P2SH prevout), and a sequence number which may encode relative locktim semantics
in version 2+ transactions.
Type Definitions
A simple type alias for an outpoint type that will be repeated throught the bitcoin
module.
A simple type alias for an input type that will be repeated throughout the bitcoin
module.
Vin is a type alias for Vec<TxInput>
. A transaction’s Vin is the Vector of INputs, with a
length prefix.