git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b3a4925
)
fill in bitcoin protocol sub-version
author
Forrest Voight
<forrest@forre.st>
Mon, 2 Jul 2012 18:59:54 +0000 (14:59 -0400)
committer
Forrest Voight
<forrest@forre.st>
Mon, 2 Jul 2012 18:59:54 +0000 (14:59 -0400)
p2pool/bitcoin/p2p.py
patch
|
blob
|
history
diff --git
a/p2pool/bitcoin/p2p.py
b/p2pool/bitcoin/p2p.py
index
ea66af9
..
4d04d54
100644
(file)
--- a/
p2pool/bitcoin/p2p.py
+++ b/
p2pool/bitcoin/p2p.py
@@
-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,
)