Remove CheckMinWork, as we always know all parent headers

This commit is contained in:
Pieter Wuille
2014-09-06 21:16:25 +02:00
parent ad6e601712
commit f244c99c96
4 changed files with 0 additions and 97 deletions

View File

@@ -16,8 +16,6 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
/** Check whether a block hash satisfies the proof-of-work requirement specified by nBits */
bool CheckProofOfWork(uint256 hash, unsigned int nBits);
/** Check the work is more than the minimum a received block needs, without knowing its direct parent */
bool CheckMinWork(unsigned int nBits, unsigned int nBase, int64_t deltaTime);
void UpdateTime(CBlockHeader* block, const CBlockIndex* pindexPrev);