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
This commit is contained in:
Philip Kaufmann
2013-09-25 15:45:46 +02:00
parent d14b86730b
commit 8d750f1d21
4 changed files with 5 additions and 11 deletions

View File

@@ -86,8 +86,6 @@ extern unsigned int nTransactionsUpdated;
extern uint64 nLastBlockTx;
extern uint64 nLastBlockSize;
extern const std::string strMessageMagic;
extern double dHashesPerSec;
extern int64 nHPSTimerStart;
extern int64 nTimeBestReceived;
extern CCriticalSection cs_setpwalletRegistered;
extern std::set<CWallet*> setpwalletRegistered;