aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net.h4
-rw-r--r--src/net_processing.cpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index 2baf82702c..a9da38146b 100644
--- a/src/net.h
+++ b/src/net.h
@@ -328,6 +328,8 @@ public:
CSipHasher GetDeterministicRandomizer(uint64_t id);
unsigned int GetReceiveFloodSize() const;
+
+ void WakeMessageHandler();
private:
struct ListenSocket {
SOCKET socket;
@@ -344,8 +346,6 @@ private:
void ThreadSocketHandler();
void ThreadDNSAddressSeed();
- void WakeMessageHandler();
-
uint64_t CalculateKeyedNetGroup(const CAddress& ad);
CNode* FindNode(const CNetAddr& ip);
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index 945a97909d..03568283fb 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -827,6 +827,7 @@ void PeerLogicValidation::UpdatedBlockTip(const CBlockIndex *pindexNew, const CB
}
}
});
+ connman->WakeMessageHandler();
}
nTimeBestReceived = GetTime();