| 713 | } |
| 714 | |
| 715 | void 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 | |
| 731 | void TransactionTablePriv::DispatchNotifications() |
| 732 | { |