| 794 | return std::make_unique<NotificationsHandlerImpl>(validation_signals(), std::move(notifications)); |
| 795 | } |
| 796 | void waitForNotificationsIfTipChanged(const uint256& old_tip) override |
| 797 | { |
| 798 | if (!old_tip.IsNull() && old_tip == WITH_LOCK(::cs_main, return chainman().ActiveChain().Tip()->GetBlockHash())) return; |
| 799 | validation_signals().SyncWithValidationInterfaceQueue(); |
| 800 | } |
| 801 | void waitForNotifications() override |
| 802 | { |
| 803 | validation_signals().SyncWithValidationInterfaceQueue(); |