Browse Source

350 hf

pull/37/head
jl777 5 years ago
parent
commit
e94370e3f0
  1. 8
      src/pow.cpp

8
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();
}

Loading…
Cancel
Save