Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Public Member Functions | |
TransactionTablePriv (CWallet *_wallet, TransactionTableModel *_parent) | |
void | refreshWallet () |
void | updateWallet (const uint256 &hash, int status, bool showTransaction) |
void | updateAddressBook (const QString &address, const QString &label, bool isMine, const QString &purpose, int status) |
int | size () |
TransactionRecord * | index (int idx) |
QString | describe (TransactionRecord *rec, int unit) |
QString | getTxHex (TransactionRecord *rec) |
Public Attributes | |
CWallet * | wallet |
TransactionTableModel * | parent |
QList< TransactionRecord > | cachedWallet |
Detailed Description
Definition at line 55 of file transactiontablemodel.cpp.
Constructor & Destructor Documentation
◆ TransactionTablePriv()
|
inline |
Definition at line 58 of file transactiontablemodel.cpp.
Member Function Documentation
◆ describe()
|
inline |
Definition at line 226 of file transactiontablemodel.cpp.
References cs_main, CWallet::cs_wallet, TransactionRecord::hash, LOCK2, CWallet::mapWallet, TransactionDesc::toHTML(), and wallet.
Referenced by TransactionTableModel::data().
◆ getTxHex()
|
inline |
Definition at line 239 of file transactiontablemodel.cpp.
References cs_main, CWallet::cs_wallet, EncodeHexTx(), TransactionRecord::hash, LOCK2, CWallet::mapWallet, and wallet.
Referenced by TransactionTableModel::data().
◆ index()
|
inline |
Definition at line 194 of file transactiontablemodel.cpp.
References cachedWallet, cs_main, CWallet::cs_wallet, TransactionTableModel::getChainLockHeight(), TransactionRecord::hash, CWallet::mapWallet, parent, TransactionRecord::statusUpdateNeeded(), TRY_LOCK, TransactionRecord::updateStatus(), and wallet.
Referenced by TransactionView::computeSum(), TransactionView::contextualMenu(), TransactionTableModel::index(), and updateAddressBook().
◆ refreshWallet()
|
inline |
Definition at line 75 of file transactiontablemodel.cpp.
References cachedWallet, cs_main, CWallet::cs_wallet, TransactionRecord::decomposeTransaction(), LOCK2, CWallet::mapWallet, TransactionRecord::showTransaction(), and wallet.
Referenced by TransactionTableModel::TransactionTableModel().
◆ size()
|
inline |
Definition at line 189 of file transactiontablemodel.cpp.
References cachedWallet.
Referenced by TransactionTableModel::rowCount(), TransactionTableModel::updateConfirmations(), and TransactionTableModel::updateDisplayUnit().
◆ updateAddressBook()
|
inline |
Definition at line 176 of file transactiontablemodel.cpp.
References cachedWallet, TransactionTableModel::index(), index(), TransactionStatus::needsUpdate, parent, TransactionRecord::status, and TransactionTableModel::ToAddress.
Referenced by TransactionTableModel::updateAddressBook().
◆ updateWallet()
|
inline |
Definition at line 94 of file transactiontablemodel.cpp.
References cachedWallet, cs_main, CWallet::cs_wallet, CT_DELETED, CT_NEW, CT_UPDATED, TransactionRecord::decomposeTransaction(), TransactionTableModel::index(), LOCK2, CWallet::mapWallet, TransactionStatus::needsUpdate, parent, TransactionTableModel::Status, TransactionRecord::status, base_blob< BITS >::ToString(), and wallet.
Referenced by TransactionTableModel::updateTransaction().
Member Data Documentation
◆ cachedWallet
QList<TransactionRecord> TransactionTablePriv::cachedWallet |
Definition at line 71 of file transactiontablemodel.cpp.
Referenced by index(), refreshWallet(), size(), updateAddressBook(), and updateWallet().
◆ parent
TransactionTableModel* TransactionTablePriv::parent |
Definition at line 65 of file transactiontablemodel.cpp.
Referenced by index(), updateAddressBook(), and updateWallet().
◆ wallet
CWallet* TransactionTablePriv::wallet |
Definition at line 64 of file transactiontablemodel.cpp.
Referenced by describe(), getTxHex(), index(), refreshWallet(), and updateWallet().
The documentation for this class was generated from the following file:
- src/qt/transactiontablemodel.cpp