From e94370e3f06a295ecd14d616318e4b6987c02926 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 5 Aug 2019 10:07:48 -1100 Subject: [PATCH] 350 hf --- src/pow.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pow.cpp b/src/pow.cpp index 3de3fd574..fbd0d68b1 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -325,7 +325,13 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead bnTarget = (bnTarget + bnPrev) / arith_uint256(2); else bnTarget = origtarget; } - } + else if ( pindexLast->GetHeight()+1 >= 350 ) + { + if ( bnTarget < origtarget ) + bnTarget = (bnTarget + bnPrev) / arith_uint256(2); + else bnTarget = origtarget; + } + } } nbits = bnTarget.GetCompact(); }