aboutsummaryrefslogtreecommitdiff
path: root/src/pow.h
diff options
context:
space:
mode:
authorjtimon <jtimon@blockstream.io>2014-10-29 17:00:02 +0100
committerjtimon <jtimon@blockstream.io>2014-10-29 21:01:07 +0100
commit092b58d13d658baebbf03a6d5209f368f19e50a8 (patch)
treebce476eeb459762977a5677b96d71f530f04f53a /src/pow.h
parent22c4272bf4ea04689fc0ea08e637caa46ba12c98 (diff)
CBlockIndex::GetBlockWork() + GetProofIncrement(nBits) -> GetBlockProof(CBlockIndex)
Diffstat (limited to 'src/pow.h')
-rw-r--r--src/pow.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pow.h b/src/pow.h
index 9ee6ce44d6..cf28656bd8 100644
--- a/src/pow.h
+++ b/src/pow.h
@@ -16,7 +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);
-
-uint256 GetProofIncrement(unsigned int nBits);
+uint256 GetBlockProof(const CBlockIndex& block);
#endif // BITCOIN_POW_H