Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
transactionrecord.h
Go to the documentation of this file.
128 static QList<TransactionRecord> decomposeTransaction(const CWallet *wallet, const CWalletTx &wtx);
boost::variant< CNoDestination, CKeyID, CScriptID > CTxDestination
A txout script template with a specific destination.
Definition: standard.h:80
Confirmed, but waiting for the recommended number of confirmations.
Definition: transactionrecord.h:35
Transaction not yet final, waiting for block.
Definition: transactionrecord.h:33
Have 6 or more confirmations (normal tx) or fully mature (mined tx)
Definition: transactionrecord.h:30
TransactionRecord(uint256 _hash, qint64 _time)
Definition: transactionrecord.h:109
void updateStatus(const CWalletTx &wtx, int chainLockHeight)
Update status from core wallet tx.
Definition: transactionrecord.cpp:267
TransactionRecord(uint256 _hash, qint64 _time, Type _type, const std::string &_strAddress, const CAmount &_debit, const CAmount &_credit)
Definition: transactionrecord.h:116
static bool showTransaction(const CWalletTx &wtx)
Decompose CWallet transaction to model transaction records.
Definition: transactionrecord.cpp:21
int getOutputIndex() const
Return the output index of the subtransaction.
Definition: transactionrecord.cpp:383
TransactionStatus status
Status: can change with block chain update.
Definition: transactionrecord.h:146
static QList< TransactionRecord > decomposeTransaction(const CWallet *wallet, const CWalletTx &wtx)
Definition: transactionrecord.cpp:31
QString getTxID() const
Return the unique identifier for this transaction (part)
Definition: transactionrecord.cpp:378
bool countsForBalance
Transaction counts towards available balance.
Definition: transactionrecord.h:44
int cur_num_blocks
Current number of blocks (to know whether cached status is still valid)
Definition: transactionrecord.h:69
Normal (sent/received) transactions.
Definition: transactionrecord.h:32
A transaction with a bunch of additional info that only the owner cares about.
Definition: wallet.h:280
Definition: transactionrecord.h:85
Conflicts with other transaction or mempool.
Definition: transactionrecord.h:36
bool involvesWatchAddress
Whether the transaction was sent/received with a watch-only address.
Definition: transactionrecord.h:149
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:715
bool statusUpdateNeeded(int chainLockHeight) const
Return whether a status update is needed.
Definition: transactionrecord.cpp:371
qint64 open_for
Timestamp if status==OpenUntilDate, otherwise number of additional blocks that need to be mined befor...
Definition: transactionrecord.h:63
static const int RecommendedNumConfirmations
Number of confirmation recommended for accepting a transaction.
Definition: transactionrecord.h:101