// memory only
mutable std::vector<uint256> vMerkleTree;
- uint256 hashBlock;
// Denial-of-service detection:
mutable int nDoS;
vchBlockSig.clear();
vMerkleTree.clear();
nDoS = 0;
- hashBlock = 0;
}
bool IsNull() const
return (nBits == 0);
}
- uint256 GetHash(bool fRehash=false) const
+ uint256 GetHash() const
{
return scrypt_blockhash(CVOIDBEGIN(nVersion));
}