aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2015-04-02 12:04:59 -0400
committerGavin Andresen <[email protected]>2015-05-14 12:50:42 -0400
commit9a1dcea2df2a6a89acf79bc41972e937d783a080 (patch)
treea442b42c60df35d3e95d313ba08a47a2a793af8d /src/init.cpp
parentCreate a scheduler thread for lightweight tasks (diff)
downloaddiscoin-9a1dcea2df2a6a89acf79bc41972e937d783a080.tar.xz
discoin-9a1dcea2df2a6a89acf79bc41972e937d783a080.zip
Use CScheduler for net's DumpAddresses
Instead of starting Yet Another Thread to dump addresses, use CScheduler to do it.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 51f3671c1..94ed25fe7 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1378,7 +1378,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
LogPrintf("mapAddressBook.size() = %u\n", pwalletMain ? pwalletMain->mapAddressBook.size() : 0);
#endif
- StartNode(threadGroup);
+ StartNode(threadGroup, scheduler);
#ifdef ENABLE_WALLET
// Generate coins in the background