git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f3a0e8d
)
don't punish new shares for not having all transactions. punishing
13.1
author
Forrest Voight
<forrest@forre.st>
Mon, 8 Jul 2013 15:53:23 +0000 (11:53 -0400)
committer
Forrest Voight
<forrest@forre.st>
Mon, 8 Jul 2013 15:54:49 +0000 (11:54 -0400)
could potentially cause problems as sending all transactions is no
longer enforced at the protocol level.
p2pool/data.py
patch
|
blob
|
history
diff --git
a/p2pool/data.py
b/p2pool/data.py
index
0ff5f07
..
6df3e89
100644
(file)
--- a/
p2pool/data.py
+++ b/
p2pool/data.py
@@
-355,8
+355,7
@@
class NewShare(object):
other_txs = self._get_other_txs(tracker, known_txs)
if other_txs is None:
- if self.time_seen != 0: # ignore if loaded from ShareStore
- return True, 'not all txs present'
+ pass
else:
all_txs_size = sum(bitcoin_data.tx_type.packed_size(tx) for tx in other_txs)
if all_txs_size > 1000000: