actually disconnect badly behaving peers
@@ -1744,7 +1744,7 @@ void Misbehaving(NodeId pnode, int howmuch)
if (pn->nMisbehavior >= banscore && pn->nMisbehavior - howmuch < banscore)
{
printf("Misbehaving: %s (%d -> %d) BAN THRESHOLD EXCEEDED\n", pn->addrName.c_str(), pn->nMisbehavior-howmuch, pn->nMisbehavior);
- //pn->fShouldBan = true;
+ pn->fDisconnect = true;
}
else
printf("Misbehaving: %s (%d -> %d)\n", pn->addrName.c_str(), pn->nMisbehavior-howmuch, pn->nMisbehavior);
