mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-11 16:17:54 +02:00
interfaces: Add waitForNotifications() to call SyncWithValidationInterfaceQueue()
Co-Authored-By: stickies-v <stickies-v@protonmail.com>
This commit is contained in:
@@ -785,6 +785,10 @@ public:
|
||||
if (!old_tip.IsNull() && old_tip == WITH_LOCK(::cs_main, return chainman().ActiveChain().Tip()->GetBlockHash())) return;
|
||||
validation_signals().SyncWithValidationInterfaceQueue();
|
||||
}
|
||||
void waitForNotifications() override
|
||||
{
|
||||
validation_signals().SyncWithValidationInterfaceQueue();
|
||||
}
|
||||
std::unique_ptr<Handler> handleRpc(const CRPCCommand& command) override
|
||||
{
|
||||
return std::make_unique<RpcHandlerImpl>(command);
|
||||
|
||||
Reference in New Issue
Block a user