MCPcopy Create free account
hub / github.com/ElementsProject/elements / NotifyTransactionChanged

Method NotifyTransactionChanged

src/qt/transactiontablemodel.cpp:715–729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

713}
714
715void TransactionTablePriv::NotifyTransactionChanged(const uint256 &hash, ChangeType status)
716{
717 // Find transaction in wallet
718 // Determine whether to show transaction or not (determine this here so that no relocking is needed in GUI thread)
719 bool showTransaction = TransactionRecord::showTransaction();
720
721 TransactionNotification notification(hash, status, showTransaction);
722
723 if (!m_loaded || m_loading)
724 {
725 vQueueNotifications.push_back(notification);
726 return;
727 }
728 notification.invoke(parent);
729}
730
731void TransactionTablePriv::DispatchNotifications()
732{

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.45
invokeMethod · 0.45

Tested by

no test coverage detected