Wake message handling thread when we receive a new block
This forces the message handling thread to make another full iteration of SendMessages prior to going back to sleep, ensuring we announce the new block to all peers before sleeping.
This commit is contained in:
parent
f13914a0e9
commit
241d8938f4
1 changed files with 1 additions and 0 deletions
|
@ -822,6 +822,7 @@ void PeerLogicValidation::UpdatedBlockTip(const CBlockIndex *pindexNew, const CB
|
|||
}
|
||||
}
|
||||
});
|
||||
connman->WakeMessageHandler();
|
||||
}
|
||||
|
||||
nTimeBestReceived = GetTime();
|
||||
|
|
Loading…
Reference in a new issue