aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorjtimon <jtimon@blockstream.io>2014-10-22 01:31:01 +0200
committerjtimon <jtimon@blockstream.io>2014-10-29 21:00:05 +0100
commit22c4272bf4ea04689fc0ea08e637caa46ba12c98 (patch)
treed3df14ade9168c18687d9a769ba62c328611ad6f /src/miner.h
parent723c7526368badda15df8ac1ffc047a0ab2e384a (diff)
MOVEONLY: Move void UpdateTime() from pow.o to miner.o (plus fix include main.h -> chain.h)
Diffstat (limited to 'src/miner.h')
-rw-r--r--src/miner.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/miner.h b/src/miner.h
index 1fa499dc5b..aede0e6d4b 100644
--- a/src/miner.h
+++ b/src/miner.h
@@ -9,6 +9,7 @@
#include <stdint.h>
class CBlock;
+class CBlockHeader;
class CBlockIndex;
class CReserveKey;
class CScript;
@@ -25,6 +26,7 @@ CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey);
void IncrementExtraNonce(CBlock* pblock, CBlockIndex* pindexPrev, unsigned int& nExtraNonce);
/** Check mined block */
bool CheckWork(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey);
+void UpdateTime(CBlockHeader* block, const CBlockIndex* pindexPrev);
extern double dHashesPerSec;
extern int64_t nHPSTimerStart;