Transaction.h

CTransactionRef
  • A pointer shared_ptr of CTransaction
  • capable of deserialize CDataStream into a CTransaction
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 output

  • script => CScript, signature of previous output script

  • nSequence => 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

results matching ""

    No results matching ""