mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Merge #9561: Wake message handling thread when we receive a new block
241d893
Wake message handling thread when we receive a new block (Matt Corallo)f13914a
Make WakeMessageHandler public (Matt Corallo)
This commit is contained in:
parent
2adb35533f
commit
3bd155bd5c
@ -391,6 +391,8 @@ public:
|
||||
CSipHasher GetDeterministicRandomizer(uint64_t id);
|
||||
|
||||
unsigned int GetReceiveFloodSize() const;
|
||||
|
||||
void WakeMessageHandler();
|
||||
private:
|
||||
struct ListenSocket {
|
||||
SOCKET socket;
|
||||
@ -410,8 +412,6 @@ private:
|
||||
|
||||
uint64_t CalculateKeyedNetGroup(const CAddress& ad);
|
||||
|
||||
void WakeMessageHandler();
|
||||
|
||||
CNode* FindNode(const CNetAddr& ip);
|
||||
CNode* FindNode(const CSubNet& subNet);
|
||||
CNode* FindNode(const std::string& addrName);
|
||||
|
@ -718,6 +718,7 @@ void PeerLogicValidation::UpdatedBlockTip(const CBlockIndex *pindexNew, const CB
|
||||
}
|
||||
}
|
||||
});
|
||||
connman->WakeMessageHandler();
|
||||
}
|
||||
|
||||
nTimeBestReceived = GetTime();
|
||||
|
Loading…
Reference in New Issue
Block a user