|
|
@ -2575,10 +2575,14 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) |
|
|
|
return error("message getdata size() = %d", vInv.size()); |
|
|
|
return error("message getdata size() = %d", vInv.size()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (fDebugNet || (vInv.size() != 1)) |
|
|
|
|
|
|
|
printf("received getdata (%d invsz)\n", vInv.size()); |
|
|
|
|
|
|
|
|
|
|
|
BOOST_FOREACH(const CInv& inv, vInv) |
|
|
|
BOOST_FOREACH(const CInv& inv, vInv) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (fShutdown) |
|
|
|
if (fShutdown) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|
|
|
|
if (fDebugNet || (vInv.size() == 1)) |
|
|
|
printf("received getdata for: %s\n", inv.ToString().c_str()); |
|
|
|
printf("received getdata for: %s\n", inv.ToString().c_str()); |
|
|
|
|
|
|
|
|
|
|
|
if (inv.type == MSG_BLOCK) |
|
|
|
if (inv.type == MSG_BLOCK) |
|
|
|