|
|
@ -2838,8 +2838,8 @@ bool ProcessMessages(CNode* pfrom)
|
|
|
|
|
|
|
|
|
|
|
|
bool SendMessages(CNode* pto, bool fSendTrickle)
|
|
|
|
bool SendMessages(CNode* pto, bool fSendTrickle)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TRY_LOCK(cs_main, lockMain);
|
|
|
|
LOCK(cs_main);
|
|
|
|
if (lockMain) {
|
|
|
|
// Don't send anything until we get their version message
|
|
|
|
// Don't send anything until we get their version message
|
|
|
|
if (pto->nVersion == 0)
|
|
|
|
if (pto->nVersion == 0)
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|