Skip to content

Commit

Permalink
ban node filter
Browse files Browse the repository at this point in the history
  • Loading branch information
zSAM-Project committed Jul 25, 2018
1 parent a33af7b commit 39c8fcb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/masternode-budget.cpp
Expand Up @@ -1051,7 +1051,7 @@ void CBudgetManager::ProcessMessage(CNode* pfrom, std::string& strCommand, CData
if (nProp == 0) {
if (pfrom->HasFulfilledRequest("mnvs")) {
LogPrint("mnbudget","mnvs - peer already asked me for the list\n");
Misbehaving(pfrom->GetId(), 20);
//Misbehaving(pfrom->GetId(), 20); by xnoom
return;
}
pfrom->FulfilledRequest("mnvs");
Expand Down
2 changes: 1 addition & 1 deletion src/masternode-payments.cpp
Expand Up @@ -367,7 +367,7 @@ void CMasternodePayments::ProcessMessageMasternodePayments(CNode* pfrom, std::st
if (Params().NetworkID() == CBaseChainParams::MAIN) {
if (pfrom->HasFulfilledRequest("mnget")) {
LogPrint("masternode","mnget - peer already asked me for the list\n");
Misbehaving(pfrom->GetId(), 20);
//Misbehaving(pfrom->GetId(), 20); by xnoom
return;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/masternodeman.cpp
Expand Up @@ -811,7 +811,7 @@ void CMasternodeMan::ProcessMessage(CNode* pfrom, std::string& strCommand, CData
if (i != mAskedUsForMasternodeList.end()) {
int64_t t = (*i).second;
if (GetTime() < t) {
Misbehaving(pfrom->GetId(), 34);
//Misbehaving(pfrom->GetId(), 34); by xnoom
LogPrint("masternode","dseg - peer already asked me for the list\n");
return;
}
Expand Down

0 comments on commit 39c8fcb

Please sign in to comment.