git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4b56855
)
skip verification of own shares, unless in debug mode
author
Forrest Voight
<forrest@forre.st>
Fri, 3 Feb 2012 18:52:32 +0000 (13:52 -0500)
committer
Forrest Voight
<forrest@forre.st>
Fri, 3 Feb 2012 18:52:32 +0000 (13:52 -0500)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
f02cfe3
..
f699acb
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-562,7
+562,12
@@
def main(args, net, datadir_path):
my_share_hashes.add(share.hash)
if not on_time:
my_doa_share_hashes.add(share.hash)
- p2p_node.handle_shares([share], None)
+
+ tracker.add(share)
+ if not p2pool.DEBUG:
+ tracker.verified.add(share)
+ set_real_work2()
+
try:
if pow_hash <= header['bits'].target:
for peer in p2p_node.peers.itervalues():