Increase conversion rate for PoW high diff, breaking change for existing testchains

This commit is contained in:
jl777
2018-06-05 03:35:21 -11:00
parent ceb6321c7c
commit 181e67c617

View File

@@ -1197,7 +1197,7 @@ arith_uint256 komodo_PoWtarget(int32_t *percPoSp,arith_uint256 target,int32_t he
} else return(target);
if ( percPoS < goalperc ) // increase PoW diff -> lower bnTarget
{
bnTarget = (ave * arith_uint256(percPoS * percPoS)) / arith_uint256((goalperc) * (goalperc));
bnTarget = (ave * arith_uint256(percPoS * percPoS)) / arith_uint256(goalperc * goalperc * goalperc);
if ( 1 )
{
for (i=31; i>=24; i--)