PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
TransactionTablePriv Class Reference
Collaboration diagram for TransactionTablePriv:
[legend]

Public Member Functions

 TransactionTablePriv (CWallet *wallet, TransactionTableModel *parent)
 
void refreshWallet ()
 
void emitTxLoaded (const TransactionRecord &rec)
 
void updateWallet (const uint256 &hash, int status, bool showTransaction, TransactionRecord &ret)
 
int size ()
 
TransactionRecordindex (int cur_block_num, const uint256 &cur_block_hash, int idx)
 

Static Public Member Functions

static ConvertTxToVectorResult convertTxToRecords (TransactionTablePriv *tablePriv, const CWallet *wallet, const std::vector< CWalletTx > &walletTxes)
 

Public Attributes

CWalletwallet {nullptr}
 
TransactionTableModelparent
 
QList< TransactionRecordcachedWallet
 
qint64 nFirstLoadedTxTime {0}
 Time of the oldest transaction loaded into the model. More...
 

Detailed Description

Definition at line 69 of file transactiontablemodel.cpp.

Constructor & Destructor Documentation

◆ TransactionTablePriv()

TransactionTablePriv::TransactionTablePriv ( CWallet wallet,
TransactionTableModel parent 
)
inline

Definition at line 72 of file transactiontablemodel.cpp.

Member Function Documentation

◆ convertTxToRecords()

static ConvertTxToVectorResult TransactionTablePriv::convertTxToRecords ( TransactionTablePriv tablePriv,
const CWallet wallet,
const std::vector< CWalletTx > &  walletTxes 
)
inlinestatic

Definition at line 173 of file transactiontablemodel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ emitTxLoaded()

void TransactionTablePriv::emitTxLoaded ( const TransactionRecord rec)
inline

Definition at line 167 of file transactiontablemodel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ index()

TransactionRecord* TransactionTablePriv::index ( int  cur_block_num,
const uint256 cur_block_hash,
int  idx 
)
inline

Definition at line 283 of file transactiontablemodel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshWallet()

void TransactionTablePriv::refreshWallet ( )
inline

Definition at line 94 of file transactiontablemodel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size()

int TransactionTablePriv::size ( )
inline

Definition at line 278 of file transactiontablemodel.cpp.

Here is the caller graph for this function:

◆ updateWallet()

void TransactionTablePriv::updateWallet ( const uint256 hash,
int  status,
bool  showTransaction,
TransactionRecord ret 
)
inline

Definition at line 198 of file transactiontablemodel.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ cachedWallet

QList<TransactionRecord> TransactionTablePriv::cachedWallet

Definition at line 84 of file transactiontablemodel.cpp.

◆ nFirstLoadedTxTime

qint64 TransactionTablePriv::nFirstLoadedTxTime {0}

Time of the oldest transaction loaded into the model.

It can or not be the first tx in the wallet, the model only loads the last 20k txs.

Definition at line 90 of file transactiontablemodel.cpp.

◆ parent

TransactionTableModel* TransactionTablePriv::parent

Definition at line 78 of file transactiontablemodel.cpp.

◆ wallet

CWallet* TransactionTablePriv::wallet {nullptr}

Definition at line 77 of file transactiontablemodel.cpp.


The documentation for this class was generated from the following file: