Transaction.h
CTransactionRef
- A pointer
shared_ptr
ofCTransaction
- capable of deserialize
CDataStream
into aCTransaction
CTransaction
Contains information that makes up a single transaction.
- vin => list of CTxIn
- vout => list of CTxOut
- nVersion => version number
- vLockTime => local time of the transaction
CTxIn
An input of a transaction which contains previous transaction's output and it's matching public key.
prevout =>
COutPoint
, the previous outputscript =>
CScript
, signature of previous output scriptnSequence => the sequence number of this CTxIn in the Transaction
scriptWitness =>
CScriptWitness
, the witness data which will only be serialized byCTransaction
CTxOut
An output of a transaction which contains the public key for which the next input must be able to sign to claim.
- nValue => nValue =>
CAmount
, the amount to be transfered - scriptPubKey =>
CScript
, the script public key to be signed in order to claim