From: Forrest Voight Date: Mon, 8 Jul 2013 15:53:23 +0000 (-0400) Subject: don't punish new shares for not having all transactions. punishing X-Git-Tag: 13.1^0 X-Git-Url: https://git.novaco.in/?p=p2pool.git;a=commitdiff_plain;h=94b87f6c9c04c292bca9565961f83198438f0f76 don't punish new shares for not having all transactions. punishing could potentially cause problems as sending all transactions is no longer enforced at the protocol level. --- diff --git a/p2pool/data.py b/p2pool/data.py index 0ff5f07..6df3e89 100644 --- 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: