More of 13946

This commit is contained in:
UdjinM6 2020-01-28 18:42:15 +03:00
parent e5e3572e9d
commit 9e711befda

View File

@ -2105,18 +2105,20 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
} }
else if (strCommand == NetMsgType::SENDDSQUEUE) if (strCommand == NetMsgType::SENDDSQUEUE)
{ {
bool b; bool b;
vRecv >> b; vRecv >> b;
pfrom->fSendDSQueue = b; pfrom->fSendDSQueue = b;
return true;
} }
else if (strCommand == NetMsgType::QSENDRECSIGS) { if (strCommand == NetMsgType::QSENDRECSIGS) {
bool b; bool b;
vRecv >> b; vRecv >> b;
pfrom->fSendRecSigs = b; pfrom->fSendRecSigs = b;
return true;
} }
if (strCommand == NetMsgType::INV) { if (strCommand == NetMsgType::INV) {
@ -2598,7 +2600,7 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
return true; return true;
} }
if (strCommand == NetMsgType::CMPCTBLOCK && !fImporting && !fReindex) // Ignore blocks received while importing if (strCommand == NetMsgType::CMPCTBLOCK && !fImporting && !fReindex) // Ignore blocks received while importing
{ {
CBlockHeaderAndShortTxIDs cmpctblock; CBlockHeaderAndShortTxIDs cmpctblock;
vRecv >> cmpctblock; vRecv >> cmpctblock;