| 705 | static std::vector< TransactionNotification > vQueueNotifications; |
| 706 | |
| 707 | static 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 | |
| 723 | static void ShowProgress(TransactionTableModel *ttm, const std::string &title, int nProgress) |
| 724 | { |