+zawy constants
This commit is contained in:
@@ -401,6 +401,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
|
|||||||
origtarget = bnTarget;
|
origtarget = bnTarget;
|
||||||
if ( zflags[0] == 0 || zflags[0] == 3 )
|
if ( zflags[0] == 0 || zflags[0] == 3 )
|
||||||
{
|
{
|
||||||
|
// 15 51 102 162 230 303 380 460 543 627 714 803 892 983 1075 These are the 0.5% per blk numerator constants for W=2 to 16 if denominator is 100. - zawy
|
||||||
if ( ASSETCHAINS_BLOCKTIME >= 60 && ASSETCHAINS_BLOCKTIME < 100 )
|
if ( ASSETCHAINS_BLOCKTIME >= 60 && ASSETCHAINS_BLOCKTIME < 100 )
|
||||||
bnTarget = RT_CST_RST_outer(height,pblock->nTime,bnTarget,ts,ct,1,60,1,10);
|
bnTarget = RT_CST_RST_outer(height,pblock->nTime,bnTarget,ts,ct,1,60,1,10);
|
||||||
else if ( ASSETCHAINS_BLOCKTIME >= 100 )
|
else if ( ASSETCHAINS_BLOCKTIME >= 100 )
|
||||||
|
|||||||
Reference in New Issue
Block a user