Remove mapRequest tracking

This commit is contained in:
Duke
2023-03-14 15:54:28 -04:00
parent 560f8e2f41
commit bde7273c9f
6 changed files with 0 additions and 41 deletions

View File

@@ -6841,9 +6841,6 @@ void static ProcessGetData(CNode* pfrom)
}
}
// Track requests for our stuff.
GetMainSignals().Inventory(inv.hash);
if (inv.type == MSG_BLOCK || inv.type == MSG_FILTERED_BLOCK)
break;
}
@@ -7320,9 +7317,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
}
}
// Track requests for our stuff
GetMainSignals().Inventory(inv.hash);
if (pfrom->nSendSize > (SendBufferSize() * 2)) {
Misbehaving(pfrom->GetId(), 50);
return error("send buffer size() = %u", pfrom->nSendSize);