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.
pull/9561/head
Matt Corallo 8 years ago
parent f13914a0e9
commit 241d8938f4

@ -822,6 +822,7 @@ void PeerLogicValidation::UpdatedBlockTip(const CBlockIndex *pindexNew, const CB
}
}
});
connman->WakeMessageHandler();
}
nTimeBestReceived = GetTime();

Loading…
Cancel
Save