diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-09-25 15:45:46 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-09-25 15:48:11 +0200 |
commit | 8d750f1d21d8578794a765415fe9d0e9e74d2852 (patch) | |
tree | 7d3aa58111f2deba8f6de49234fd68892a5bb06c /src/miner.h | |
parent | d14b86730b22db92df3c1cec89bc43d20a12a898 (diff) |
internal miner: move 2 globals from main to miner
- moves 2 global variables from main.cpp/h to miner.cpp/h
- also removes 2 unneded includes in miner.cpp, that come from miner.h
already
Diffstat (limited to 'src/miner.h')
-rw-r--r-- | src/miner.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/miner.h b/src/miner.h index 36d58be00f..7e60b9e53b 100644 --- a/src/miner.h +++ b/src/miner.h @@ -22,4 +22,7 @@ bool CheckWork(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey); /** Base sha256 mining transform */ void SHA256Transform(void* pstate, void* pinput, const void* pinit); +extern double dHashesPerSec; +extern int64 nHPSTimerStart; + #endif // BITCOIN_MINER_H |