From 354ec22a175fe03cd3cd3487426bb1df338d6b5c Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Mon, 1 Jul 2013 02:37:59 -0400 Subject: [PATCH] increased maximum difficulty multiplier to 30 --- p2pool/data.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/p2pool/data.py b/p2pool/data.py index b0edf1f..0ff5f07 100644 --- a/p2pool/data.py +++ b/p2pool/data.py @@ -123,7 +123,7 @@ class NewShare(object): pre_target2 = math.clip(pre_target, (previous_share.max_target*9//10, previous_share.max_target*11//10)) pre_target3 = math.clip(pre_target2, (net.MIN_TARGET, net.MAX_TARGET)) max_bits = bitcoin_data.FloatingInteger.from_target_upper_bound(pre_target3) - bits = bitcoin_data.FloatingInteger.from_target_upper_bound(math.clip(desired_target, (pre_target3//10, pre_target3))) + bits = bitcoin_data.FloatingInteger.from_target_upper_bound(math.clip(desired_target, (pre_target3//30, pre_target3))) new_transaction_hashes = [] new_transaction_size = 0 -- 1.7.1