Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
UI model for transaction status. More...
#include <transactionrecord.h>
Public Types | |
enum | Status { Confirmed, OpenUntilDate, OpenUntilBlock, Unconfirmed, Confirming, Conflicted, Abandoned, Immature, NotAccepted } |
Public Member Functions | |
TransactionStatus () | |
Public Attributes | |
bool | countsForBalance |
Transaction counts towards available balance. More... | |
bool | lockedByInstantSend |
Transaction was locked via InstantSend. More... | |
bool | lockedByChainLocks |
Transaction was locked via ChainLocks. More... | |
std::string | sortKey |
Sorting key based on status. More... | |
QString | label |
Label. More... | |
int | cur_num_blocks |
Current number of blocks (to know whether cached status is still valid) More... | |
int | cachedChainLockHeight |
bool | needsUpdate |
Generated (mined) transactions | |
int | matures_in |
Reported status | |
Status | status |
qint64 | depth |
qint64 | open_for |
Timestamp if status==OpenUntilDate, otherwise number of additional blocks that need to be mined before finalization. More... | |
Detailed Description
UI model for transaction status.
The transaction status is the part of a transaction that will change over time.
Definition at line 20 of file transactionrecord.h.
Member Enumeration Documentation
◆ Status
Definition at line 29 of file transactionrecord.h.
Constructor & Destructor Documentation
◆ TransactionStatus()
|
inline |
Definition at line 23 of file transactionrecord.h.
Member Data Documentation
◆ cachedChainLockHeight
int TransactionStatus::cachedChainLockHeight |
Definition at line 72 of file transactionrecord.h.
Referenced by TransactionRecord::statusUpdateNeeded(), and TransactionRecord::updateStatus().
◆ countsForBalance
bool TransactionStatus::countsForBalance |
Transaction counts towards available balance.
Definition at line 44 of file transactionrecord.h.
Referenced by TransactionTableModel::data(), TransactionTableModel::formatTxAmount(), and TransactionRecord::updateStatus().
◆ cur_num_blocks
int TransactionStatus::cur_num_blocks |
Current number of blocks (to know whether cached status is still valid)
Definition at line 69 of file transactionrecord.h.
Referenced by TransactionRecord::statusUpdateNeeded(), and TransactionRecord::updateStatus().
◆ depth
qint64 TransactionStatus::depth |
Definition at line 62 of file transactionrecord.h.
Referenced by TransactionTableModel::formatTxStatus(), TransactionTableModel::txStatusDecoration(), and TransactionRecord::updateStatus().
◆ label
QString TransactionStatus::label |
Label.
Definition at line 52 of file transactionrecord.h.
Referenced by TransactionTableModel::data(), TransactionTableModel::formatTxToAddress(), and TransactionRecord::updateStatus().
◆ lockedByChainLocks
bool TransactionStatus::lockedByChainLocks |
Transaction was locked via ChainLocks.
Definition at line 48 of file transactionrecord.h.
Referenced by TransactionTableModel::formatTxStatus(), TransactionRecord::statusUpdateNeeded(), and TransactionRecord::updateStatus().
◆ lockedByInstantSend
bool TransactionStatus::lockedByInstantSend |
Transaction was locked via InstantSend.
Definition at line 46 of file transactionrecord.h.
Referenced by TransactionTableModel::formatTxStatus(), TransactionTableModel::txAddressDecoration(), and TransactionRecord::updateStatus().
◆ matures_in
int TransactionStatus::matures_in |
Definition at line 56 of file transactionrecord.h.
Referenced by TransactionTableModel::formatTxStatus(), TransactionTableModel::txStatusDecoration(), and TransactionRecord::updateStatus().
◆ needsUpdate
bool TransactionStatus::needsUpdate |
Definition at line 74 of file transactionrecord.h.
Referenced by TransactionRecord::statusUpdateNeeded(), TransactionTablePriv::updateAddressBook(), TransactionRecord::updateStatus(), and TransactionTablePriv::updateWallet().
◆ open_for
qint64 TransactionStatus::open_for |
Timestamp if status==OpenUntilDate, otherwise number of additional blocks that need to be mined before finalization.
Definition at line 63 of file transactionrecord.h.
Referenced by TransactionTableModel::formatTxStatus(), and TransactionRecord::updateStatus().
◆ sortKey
std::string TransactionStatus::sortKey |
Sorting key based on status.
Definition at line 50 of file transactionrecord.h.
Referenced by TransactionTableModel::data(), and TransactionRecord::updateStatus().
◆ status
Status TransactionStatus::status |
Definition at line 61 of file transactionrecord.h.
Referenced by TransactionTableModel::data(), TransactionTableModel::formatTxStatus(), TransactionTableModel::txStatusDecoration(), and TransactionRecord::updateStatus().
The documentation for this class was generated from the following file:
- src/qt/transactionrecord.h