git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
428c661
)
ignore connections from old peers
author
Forrest Voight
<forrest@forre.st>
Sun, 1 Apr 2012 00:29:01 +0000 (20:29 -0400)
committer
Forrest Voight
<forrest@forre.st>
Sun, 1 Apr 2012 01:05:47 +0000 (21:05 -0400)
p2pool/p2p.py
patch
|
blob
|
history
diff --git
a/p2pool/p2p.py
b/p2pool/p2p.py
index
d6b27d5
..
57f0110
100644
(file)
--- a/
p2pool/p2p.py
+++ b/
p2pool/p2p.py
@@
-108,7
+108,7
@@
class Protocol(p2protocol.Protocol):
def handle_version(self, version, services, addr_to, addr_from, nonce, sub_version, mode, best_share_hash):
if self.other_version is not None:
raise PeerMisbehavingError('more than one version message')
- if version < 2:
+ if version < 4:
raise PeerMisbehavingError('peer too old')
self.other_version = version