git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
438aa30
)
don't drop peers for any reason
author
Forrest Voight
<forrest@forre.st>
Fri, 18 May 2012 04:43:23 +0000 (
00:43
-0400)
committer
Forrest Voight
<forrest@forre.st>
Fri, 18 May 2012 04:43:33 +0000 (
00:43
-0400)
p2pool/p2p.py
patch
|
blob
|
history
diff --git
a/p2pool/p2p.py
b/p2pool/p2p.py
index
0d6f5ef
..
19547f4
100644
(file)
--- 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()