diff options
| author | Gavin Andresen <[email protected]> | 2013-04-02 08:56:57 -0700 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-04-02 08:56:57 -0700 |
| commit | 06db61f09e4201a17ef169754ac374a2b7a37316 (patch) | |
| tree | d1926a75ffb53fb36aa935a3e3fa01e6053b0613 /src/init.cpp | |
| parent | Merge pull request #2441 from Diapolo/Qt_fix_copy_context_menu (diff) | |
| parent | Move GenerateBitcoins() call out of net.cpp's StartNode() (diff) | |
| download | discoin-06db61f09e4201a17ef169754ac374a2b7a37316.tar.xz discoin-06db61f09e4201a17ef169754ac374a2b7a37316.zip | |
Merge pull request #2431 from jgarzik/gen-bitcoins-init
Move GenerateBitcoins() call out of net.cpp's StartNode()
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 3 |
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")); |