aboutsummaryrefslogtreecommitdiff
path: root/src/pow.h
diff options
context:
space:
mode:
authorjtimon <jtimon@monetize.io>2014-06-28 14:03:06 +0200
committerjtimon <jtimon@monetize.io>2014-08-23 13:21:50 +0200
commitc2c02f3fa99385f5a5be722fda6f71522c93bdaa (patch)
tree608b76aa8e523a4118f569518bf5150e85d77c48 /src/pow.h
parent92b3d3630d6d63305bec136a23c7be4cb2bb2652 (diff)
downloadbitcoin-c2c02f3fa99385f5a5be722fda6f71522c93bdaa.tar.xz
Move UpdateTime to pow
Diffstat (limited to 'src/pow.h')
-rw-r--r--src/pow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pow.h b/src/pow.h
index 0ce5b48766..9880621788 100644
--- a/src/pow.h
+++ b/src/pow.h
@@ -20,4 +20,6 @@ bool CheckProofOfWork(uint256 hash, unsigned int nBits);
/** Calculate the minimum amount of work a received block needs, without knowing its direct parent */
unsigned int ComputeMinWork(unsigned int nBase, int64_t nTime);
+void UpdateTime(CBlockHeader* block, const CBlockIndex* pindexPrev);
+
#endif