git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3a6243e
)
Made "Connected to peer" message include protocol version
author
Forrest Voight
<forrest@forre.st>
Sun, 11 Dec 2011 08:02:00 +0000 (
03:02
-0500)
committer
Forrest Voight
<forrest@forre.st>
Sun, 11 Dec 2011 08:02:00 +0000 (
03:02
-0500)
p2pool/p2p.py
patch
|
blob
|
history
diff --git
a/p2pool/p2p.py
b/p2pool/p2p.py
index
5dd6441
..
e642538
100644
(file)
--- a/
p2pool/p2p.py
+++ b/
p2pool/p2p.py
@@
-324,7
+324,7
@@
class Node(object):
raise ValueError('already have peer')
self.peers[conn.nonce] = conn
- print 'Connected to peer %s:%i. p2pool version: %r' % (conn.addr[0], conn.addr[1], conn.other_sub_version)
+ print 'Connected to peer %s:%i. p2pool version: %i %r' % (conn.addr[0], conn.addr[1], conn.other_version, conn.other_sub_version)
def lost_conn(self, conn):
if conn.nonce not in self.peers: