Changeset View
Changeset View
Standalone View
Standalone View
src/qt/transactiontablemodel.cpp
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | struct TxLessThan { | ||||
bool operator()(const TxId &a, const TransactionRecord &b) const { | bool operator()(const TxId &a, const TransactionRecord &b) const { | ||||
return a < b.txid; | return a < b.txid; | ||||
} | } | ||||
}; | }; | ||||
// Private implementation | // Private implementation | ||||
class TransactionTablePriv { | class TransactionTablePriv { | ||||
public: | public: | ||||
TransactionTablePriv(TransactionTableModel *_parent) : parent(_parent) {} | explicit TransactionTablePriv(TransactionTableModel *_parent) | ||||
: parent(_parent) {} | |||||
TransactionTableModel *parent; | TransactionTableModel *parent; | ||||
/* Local cache of wallet. | /* Local cache of wallet. | ||||
* As it is in the same order as the CWallet, by definition this is sorted | * As it is in the same order as the CWallet, by definition this is sorted | ||||
* by sha256. | * by sha256. | ||||
*/ | */ | ||||
QList<TransactionRecord> cachedWallet; | QList<TransactionRecord> cachedWallet; | ||||
▲ Show 20 Lines • Show All 709 Lines • Show Last 20 Lines |