Constructs an input spending output nOut of a given transaction.
Declared in <primitives/transaction.h>
CTxIn(
Txid hashPrevTx,
uint32_t nOut,
CScript scriptSigIn = CScript(),
uint32_t nSequenceIn = SEQUENCE_FINAL);
| Name | Description |
|---|---|
| hashPrevTx | Hash of the transaction holding the spent output. |
| nOut | Index of the spent output within that transaction. |
| scriptSigIn | The signature script satisfying the output. |
| nSequenceIn | The sequence number for the input. |