From 69d7300919e0f9b23ec81c1d01c0bf12cdb1ebc5 Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Mon, 4 Nov 2013 19:06:13 -0500 Subject: [PATCH] lower maximum shares per node from 5% to 1.67% (from minimum of 10 minutes per share to 30 minutes) --- p2pool/work.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/p2pool/work.py b/p2pool/work.py index 21dac58..d7e7776 100644 --- a/p2pool/work.py +++ b/p2pool/work.py @@ -248,7 +248,7 @@ class WorkerBridge(worker_interface.WorkerBridge): local_hash_rate = self._estimate_local_hash_rate() if local_hash_rate is not None: desired_share_target = min(desired_share_target, - bitcoin_data.average_attempts_to_target(local_hash_rate * self.node.net.SHARE_PERIOD / 0.05)) # limit to 5% of pool shares by modulating share difficulty + bitcoin_data.average_attempts_to_target(local_hash_rate * self.node.net.SHARE_PERIOD / 0.0167)) # limit to 1.67% of pool shares by modulating share difficulty local_addr_rates = self.get_local_addr_rates() lookbehind = 3600//self.node.net.SHARE_PERIOD -- 1.7.1