From 10199d2765a01c6c11a6e74ad764e3b42a8113ba Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 12 Aug 2019 00:14:06 -1100 Subject: [PATCH] +zawy constants --- src/pow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pow.cpp b/src/pow.cpp index c037b5ba5..95cda4443 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -401,6 +401,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead origtarget = bnTarget; 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 ) bnTarget = RT_CST_RST_outer(height,pblock->nTime,bnTarget,ts,ct,1,60,1,10); else if ( ASSETCHAINS_BLOCKTIME >= 100 )