diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-06 21:16:25 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-10-14 15:42:01 -0700 |
commit | f244c99c96636136678f17e7ef3952a864613ad0 (patch) | |
tree | 46fe2c8f9c9b9f5d16e8b9804e9c3c1d3b4a6e45 /src/pow.h | |
parent | ad6e6017127ec2a3a8d1a71aaab7a6e945c5b0f9 (diff) |
Remove CheckMinWork, as we always know all parent headers
Diffstat (limited to 'src/pow.h')
-rw-r--r-- | src/pow.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); |