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

Public Member Functions

 TransactionTablePriv (TransactionTableModel *_parent)
 
void NotifyTransactionChanged (const uint256 &hash, ChangeType status)
 
void DispatchNotifications ()
 
void refreshWallet (interfaces::Wallet &wallet)
 
void updateWallet (interfaces::Wallet &wallet, const uint256 &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. More...
 
bool m_loaded = false
 True when model finishes loading all wallet transactions on start. More...
 
bool m_loading = false
 True when transactions are being notified, for instance when scanning. More...
 
std::vector< TransactionNotificationvQueueNotifications
 

Detailed Description

Definition at line 87 of file transactiontablemodel.cpp.

Constructor & Destructor Documentation

◆ TransactionTablePriv()

TransactionTablePriv::TransactionTablePriv ( TransactionTableModel _parent)
inlineexplicit

Definition at line 90 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 234 of file transactiontablemodel.cpp.

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

◆ DispatchNotifications()

void TransactionTablePriv::DispatchNotifications ( )

Definition at line 719 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 239 of file transactiontablemodel.cpp.

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

◆ index()

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

Definition at line 215 of file transactiontablemodel.cpp.

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

◆ NotifyTransactionChanged()

void TransactionTablePriv::NotifyTransactionChanged ( const uint256 hash,
ChangeType  status 
)

Definition at line 703 of file transactiontablemodel.cpp.

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

◆ refreshWallet()

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

Definition at line 111 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 210 of file transactiontablemodel.cpp.

Here is the caller graph for this function:

◆ updateWallet()

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

Definition at line 130 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

Local cache of wallet sorted by transaction hash.

Definition at line 98 of file transactiontablemodel.cpp.

◆ m_loaded

bool TransactionTablePriv::m_loaded = false

True when model finishes loading all wallet transactions on start.

Definition at line 101 of file transactiontablemodel.cpp.

◆ m_loading

bool TransactionTablePriv::m_loading = false

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

Definition at line 103 of file transactiontablemodel.cpp.

◆ parent

TransactionTableModel* TransactionTablePriv::parent

Definition at line 95 of file transactiontablemodel.cpp.

◆ vQueueNotifications

std::vector< TransactionNotification > TransactionTablePriv::vQueueNotifications

Definition at line 104 of file transactiontablemodel.cpp.


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