diff options
| author | Pieter Wuille <[email protected]> | 2014-09-06 21:16:25 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-10-14 15:42:01 -0700 |
| commit | f244c99c96636136678f17e7ef3952a864613ad0 (patch) | |
| tree | 46fe2c8f9c9b9f5d16e8b9804e9c3c1d3b4a6e45 /src/pow.h | |
| parent | RPC additions after headers-first (diff) | |
| download | discoin-f244c99c96636136678f17e7ef3952a864613ad0.tar.xz discoin-f244c99c96636136678f17e7ef3952a864613ad0.zip | |
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); |