350 hf
This commit is contained in:
@@ -325,7 +325,13 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
|
|||||||
bnTarget = (bnTarget + bnPrev) / arith_uint256(2);
|
bnTarget = (bnTarget + bnPrev) / arith_uint256(2);
|
||||||
else bnTarget = origtarget;
|
else bnTarget = origtarget;
|
||||||
}
|
}
|
||||||
}
|
else if ( pindexLast->GetHeight()+1 >= 350 )
|
||||||
|
{
|
||||||
|
if ( bnTarget < origtarget )
|
||||||
|
bnTarget = (bnTarget + bnPrev) / arith_uint256(2);
|
||||||
|
else bnTarget = origtarget;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
nbits = bnTarget.GetCompact();
|
nbits = bnTarget.GetCompact();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user