MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / NotifyTransactionChanged

Function NotifyTransactionChanged

src/qt/transactiontablemodel.cpp:707–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705static std::vector< TransactionNotification > vQueueNotifications;
706
707static void NotifyTransactionChanged(TransactionTableModel *ttm, const uint256 &hash, ChangeType status)
708{
709 // Find transaction in wallet
710 // Determine whether to show transaction or not (determine this here so that no relocking is needed in GUI thread)
711 bool showTransaction = TransactionRecord::showTransaction();
712
713 TransactionNotification notification(hash, status, showTransaction);
714
715 if (fQueueNotifications)
716 {
717 vQueueNotifications.push_back(notification);
718 return;
719 }
720 notification.invoke(ttm);
721}
722
723static void ShowProgress(TransactionTableModel *ttm, const std::string &title, int nProgress)
724{

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.45
invokeMethod · 0.45

Tested by

no test coverage detected