Signed blocks have work of 1 each

This commit is contained in:
Gregory Sanders 2018-12-07 10:31:04 +01:00
parent 6856bebb93
commit 6ad13bbbe6

View file

@ -120,6 +120,11 @@ void CBlockIndex::BuildSkip()
arith_uint256 GetBlockProof(const CBlockIndex& block)
{
// All valid signed blocks have "weight" 1
if (g_signed_blocks) {
return 1;
}
arith_uint256 bnTarget;
bool fNegative;
bool fOverflow;