git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
b8a3319
)
don't display meaningless "punishing share for 'not all txs present'" message at...
author
Forrest Voight
<forrest@forre.st>
Mon, 26 Nov 2012 17:34:02 +0000 (12:34 -0500)
committer
Forrest Voight
<forrest@forre.st>
Tue, 27 Nov 2012 00:37:08 +0000 (19:37 -0500)
p2pool/data.py
patch
|
blob
|
history
diff --git
a/p2pool/data.py
b/p2pool/data.py
index
b2c89ba
..
d326fa9
100644
(file)
--- a/
p2pool/data.py
+++ b/
p2pool/data.py
@@
-335,7
+335,8
@@
class NewNewShare(object):
other_txs = self._get_other_txs(tracker, known_txs)
if other_txs is None:
- return True, 'not all txs present'
+ if self.time_seen is not None: # ignore if loaded from ShareStore
+ return True, 'not all txs present'
else:
all_txs_size = sum(bitcoin_data.tx_type.packed_size(tx) for tx in other_txs)
if all_txs_size > 1000000: