aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <[email protected]>2013-04-02 21:53:41 +0200
committerJonas Schnelli <[email protected]>2013-04-02 21:53:41 +0200
commit6f21d15375c0ca264a4bc3470685e0f364fa8ffe (patch)
tree04c59f05614eb95490625c8d1b9ca3e1b91b25d1 /src/init.cpp
parentchange new mac icon license to public domain (diff)
parentMerge pull request #2420 from sipa/globclean (diff)
downloaddiscoin-6f21d15375c0ca264a4bc3470685e0f364fa8ffe.tar.xz
discoin-6f21d15375c0ca264a4bc3470685e0f364fa8ffe.zip
Merge branch 'master' of git://github.com/bitcoin/bitcoin
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index bb22b1d24..aac46d489 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1027,6 +1027,9 @@ bool AppInit2()
if (fServer)
NewThread(ThreadRPCServer, NULL);
+ // Generate coins in the background
+ GenerateBitcoins(GetBoolArg("-gen", false), pwalletMain);
+
// ********************************************************* Step 12: finished
uiInterface.InitMessage(_("Done loading"));