From a0cafb7945cb81616586fa82a1419d826f9a2c6e Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Sun, 31 Mar 2013 01:54:27 -0400 Subject: Move GenerateBitcoins() call out of net.cpp's StartNode() The internal miner is closely bound to the wallet engine, not the blockchain engine. --- src/net.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/net.cpp') diff --git a/src/net.cpp b/src/net.cpp index 9ee6cb423..6f3c8a51a 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2047,9 +2047,6 @@ void StartNode(void* parg) // Dump network addresses if (!NewThread(ThreadDumpAddress, NULL)) printf("Error; NewThread(ThreadDumpAddress) failed\n"); - - // Generate coins in the background - GenerateBitcoins(GetBoolArg("-gen", false), pwalletMain); } bool StopNode() -- cgit v1.2.3