fill in bitcoin protocol sub-version
authorForrest Voight <forrest@forre.st>
Mon, 2 Jul 2012 18:59:54 +0000 (14:59 -0400)
committerForrest Voight <forrest@forre.st>
Mon, 2 Jul 2012 18:59:54 +0000 (14:59 -0400)
p2pool/bitcoin/p2p.py

index ea66af9..4d04d54 100644 (file)
@@ -32,7 +32,7 @@ class Protocol(p2protocol.Protocol):
                 port=self.transport.getHost().port,
             ),
             nonce=random.randrange(2**64),
-            sub_version_num='',
+            sub_version_num='/P2Pool:%s/' % (p2pool.__version__,),
             start_height=0,
         )