aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2013-03-31 01:54:27 -0400
committerJeff Garzik <jgarzik@redhat.com>2013-03-31 01:54:27 -0400
commita0cafb7945cb81616586fa82a1419d826f9a2c6e (patch)
treefaac7c7968daac89d4efe8fc94bb8dea544b4e1b /src/net.cpp
parent9d8d85920a9a7544ab05542d46b68ffb3c2741fa (diff)
Move GenerateBitcoins() call out of net.cpp's StartNode()
The internal miner is closely bound to the wallet engine, not the blockchain engine.
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 9ee6cb423c..6f3c8a51ae 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()