git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
210a3f4
)
display peer address in "Processing shares" message
author
Forrest Voight
<forrest.voight@gmail.com>
Mon, 30 Jan 2012 14:52:49 +0000 (09:52 -0500)
committer
Forrest Voight
<forrest.voight@gmail.com>
Mon, 30 Jan 2012 14:53:26 +0000 (09:53 -0500)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
19d797f
..
f65c4ca
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-215,7
+215,7
@@
def main(args, net, datadir_path):
class Node(p2p.Node):
def handle_shares(self, shares, peer):
if len(shares) > 5:
- print 'Processing %i shares...' % (len(shares),)
+ print 'Processing %i shares from %s...' % (len(shares), '%s:%i' % peer.addr if peer is not None else None)
new_count = 0
for share in shares: