Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
TransactionTablePriv Class Reference
Collaboration diagram for TransactionTablePriv:
[legend]

Public Member Functions

 TransactionTablePriv (TransactionTableModel *_parent)
void NotifyTransactionChanged (const Txid &hash, ChangeType status)
void DispatchNotifications ()
void refreshWallet (interfaces::Wallet &wallet)
void updateWallet (interfaces::Wallet &wallet, const Txid &hash, int status, bool showTransaction)
int size ()
TransactionRecordindex (interfaces::Wallet &wallet, const uint256 &cur_block_hash, const int idx)
QString describe (interfaces::Node &node, interfaces::Wallet &wallet, TransactionRecord *rec, BitcoinUnit unit)
QString getTxHex (interfaces::Wallet &wallet, TransactionRecord *rec)

Public Attributes

TransactionTableModelparent
QList< TransactionRecordcachedWallet
 Local cache of wallet sorted by transaction hash.
bool m_loaded = false
 True when model finishes loading all wallet transactions on start.
bool m_loading = false
 True when transactions are being notified, for instance when scanning.
std::vector< TransactionNotificationvQueueNotifications

Detailed Description

Definition at line 86 of file transactiontablemodel.cpp.

Constructor & Destructor Documentation

◆ TransactionTablePriv()

TransactionTablePriv::TransactionTablePriv ( TransactionTableModel * _parent)
inlineexplicit

Definition at line 89 of file transactiontablemodel.cpp.

Member Function Documentation

◆ describe()

QString TransactionTablePriv::describe ( interfaces::Node & node,
interfaces::Wallet & wallet,
TransactionRecord * rec,
BitcoinUnit unit )
inline

Definition at line 233 of file transactiontablemodel.cpp.

Here is the call graph for this function:

◆ DispatchNotifications()

void TransactionTablePriv::DispatchNotifications ( )

Definition at line 692 of file transactiontablemodel.cpp.

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

◆ getTxHex()

QString TransactionTablePriv::getTxHex ( interfaces::Wallet & wallet,
TransactionRecord * rec )
inline

Definition at line 238 of file transactiontablemodel.cpp.

Here is the call graph for this function:

◆ index()

TransactionRecord * TransactionTablePriv::index ( interfaces::Wallet & wallet,
const uint256 & cur_block_hash,
const int idx )
inline

Definition at line 214 of file transactiontablemodel.cpp.

Here is the call graph for this function:

◆ NotifyTransactionChanged()

void TransactionTablePriv::NotifyTransactionChanged ( const Txid & hash,
ChangeType status )

Definition at line 676 of file transactiontablemodel.cpp.

Here is the call graph for this function:

◆ refreshWallet()

void TransactionTablePriv::refreshWallet ( interfaces::Wallet & wallet)
inline

Definition at line 110 of file transactiontablemodel.cpp.

Here is the call graph for this function:

◆ size()

int TransactionTablePriv::size ( )
inline

Definition at line 209 of file transactiontablemodel.cpp.

◆ updateWallet()

void TransactionTablePriv::updateWallet ( interfaces::Wallet & wallet,
const Txid & hash,
int status,
bool showTransaction )
inline

Definition at line 129 of file transactiontablemodel.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ cachedWallet

QList<TransactionRecord> TransactionTablePriv::cachedWallet

Local cache of wallet sorted by transaction hash.

Definition at line 97 of file transactiontablemodel.cpp.

◆ m_loaded

bool TransactionTablePriv::m_loaded = false

True when model finishes loading all wallet transactions on start.

Definition at line 100 of file transactiontablemodel.cpp.

◆ m_loading

bool TransactionTablePriv::m_loading = false

True when transactions are being notified, for instance when scanning.

Definition at line 102 of file transactiontablemodel.cpp.

◆ parent

TransactionTableModel* TransactionTablePriv::parent

Definition at line 94 of file transactiontablemodel.cpp.

◆ vQueueNotifications

std::vector< TransactionNotification > TransactionTablePriv::vQueueNotifications

Definition at line 103 of file transactiontablemodel.cpp.


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