From 94b87f6c9c04c292bca9565961f83198438f0f76 Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Mon, 8 Jul 2013 11:53:23 -0400 Subject: [PATCH] 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. --- p2pool/data.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) 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: -- 1.7.1