git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7c6d052
)
submit all merged mining solutions when debug mode is enabled
author
Forrest Voight
<forrest@forre.st>
Sun, 18 Dec 2011 17:39:27 +0000 (12:39 -0500)
committer
Forrest Voight
<forrest@forre.st>
Sun, 18 Dec 2011 17:39:27 +0000 (12:39 -0500)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
a2b407e
..
7208572
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-488,7
+488,7
@@
def main(args, net, datadir_path):
print 'GOT BLOCK! Passing to bitcoind! bitcoin: %x' % (hash_,)
print
- if current_work.value['aux_work'] is not None and pow_hash <= current_work.value['aux_work']['target']:
+ if current_work.value['aux_work'] is not None and (pow_hash <= current_work.value['aux_work']['target'] or p2pool.DEBUG):
try:
aux_pow = dict(
merkle_tx=dict(