diff options
Diffstat (limited to 'src/gui.cpp')
| -rw-r--r-- | src/gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui.cpp b/src/gui.cpp index fc6f1e1..825202b 100644 --- a/src/gui.cpp +++ b/src/gui.cpp | |||
| @@ -32,6 +32,7 @@ int64 GetBalance(); | |||
| 32 | string PubKeyToAddress(const std::vector<unsigned char>& vchPubKey); | 32 | string PubKeyToAddress(const std::vector<unsigned char>& vchPubKey); |
| 33 | bool AddressToHash160(const std::string& str, uint160& hash160Ret); | 33 | bool AddressToHash160(const std::string& str, uint160& hash160Ret); |
| 34 | void ThreadBitcoinMiner(void*); | 34 | void ThreadBitcoinMiner(void*); |
| 35 | int StartMinerThreads(); | ||
| 35 | void ThreadRPCServer(void*); | 36 | void ThreadRPCServer(void*); |
| 36 | 37 | ||
| 37 | // --------------------------------------------------------------------------- | 38 | // --------------------------------------------------------------------------- |
| @@ -762,7 +763,7 @@ static void DrawOptionsDialog() | |||
| 762 | fGenerateBitcoins = 0; | 763 | fGenerateBitcoins = 0; |
| 763 | } else { | 764 | } else { |
| 764 | fGenerateBitcoins = 1; | 765 | fGenerateBitcoins = 1; |
| 765 | if (!vfThreadRunning[3]) _beginthread(ThreadBitcoinMiner, 0, NULL); | 766 | if (!vfThreadRunning[3]) StartMinerThreads(); |
| 766 | } | 767 | } |
| 767 | 768 | ||
| 768 | if (nMineMode == MINE_OPERATOR) { | 769 | if (nMineMode == MINE_OPERATOR) { |