Merge branch 'new_staker' into mastertest

This commit is contained in:
blackjok3r
2019-01-23 17:46:36 +08:00
17 changed files with 301 additions and 236 deletions

View File

@@ -133,6 +133,8 @@ unsigned int lwmaCalculateNextWorkRequired(const CBlockIndex* pindexLast, const
bnLimit = UintToArith256(params.powAlternate);
unsigned int nProofOfWorkLimit = bnLimit.GetCompact();
//printf("PoWLimit: %u\n", nProofOfWorkLimit);
// Find the first block in the averaging interval as we total the linearly weighted average
const CBlockIndex* pindexFirst = pindexLast;