From: Forrest Voight Date: Fri, 10 Feb 2012 17:47:23 +0000 (-0500) Subject: always use checksum in bitcoin p2p communications after 1329696000. thanks to gmaxwel... X-Git-Tag: 0.8.4~3 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=582d6eac0e6a4e0058afddfd232b27824da0fe38;p=p2pool.git always use checksum in bitcoin p2p communications after 1329696000. thanks to gmaxwell for saving p2pool! --- diff --git a/p2pool/bitcoin/p2p.py b/p2pool/bitcoin/p2p.py index 625ab6d..27dc105 100644 --- 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)