fill in bitcoin protocol sub-version
[p2pool.git] / 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,
         )