From: Forrest Voight Date: Fri, 18 May 2012 04:43:23 +0000 (-0400) Subject: don't drop peers for any reason X-Git-Tag: 0.11.2~3 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=34b17457cd3c89514167c95b73dc61a97e62f211;p=p2pool.git don't drop peers for any reason --- diff --git a/p2pool/p2p.py b/p2pool/p2p.py index 0d6f5ef..19547f4 100644 --- a/p2pool/p2p.py +++ b/p2pool/p2p.py @@ -69,6 +69,7 @@ class Protocol(p2protocol.Protocol): raise PeerMisbehavingError('first message was not version message') p2protocol.Protocol.packetReceived(self, command, payload2) except PeerMisbehavingError, e: + return print 'Peer %s:%i misbehaving, will drop and ban. Reason:' % self.addr, e.message self.badPeerHappened()