git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
becb233
)
always use checksum in bitcoin p2p communications after 1329696000. thanks to gmaxwel...
author
Forrest Voight
<forrest@forre.st>
Fri, 10 Feb 2012 17:47:23 +0000 (12:47 -0500)
committer
Forrest Voight
<forrest@forre.st>
Fri, 10 Feb 2012 17:47:23 +0000 (12:47 -0500)
p2pool/bitcoin/p2p.py
patch
|
blob
|
history
diff --git
a/p2pool/bitcoin/p2p.py
b/p2pool/bitcoin/p2p.py
index
625ab6d
..
27dc105
100644
(file)
--- a/
p2pool/bitcoin/p2p.py
+++ b/
p2pool/bitcoin/p2p.py
@@
-111,7
+111,7
@@
class Protocol(BaseProtocol):
@property
def use_checksum(self):
- return self.version >= 209
+ return self.version >= 209 or time.time() > 1329696000
def connectionMade(self):
BaseProtocol.connectionMade(self)