From 582d6eac0e6a4e0058afddfd232b27824da0fe38 Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Fri, 10 Feb 2012 12:47:23 -0500 Subject: [PATCH] always use checksum in bitcoin p2p communications after 1329696000. thanks to gmaxwell for saving p2pool! --- p2pool/bitcoin/p2p.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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) -- 1.7.1