Dash Core  0.12.2.1
P2P Digital Currency
init.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2015 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef BITCOIN_INIT_H
7 #define BITCOIN_INIT_H
8 
9 #include <string>
10 
11 class CScheduler;
12 class CWallet;
13 
14 namespace boost
15 {
16 class thread_group;
17 } // namespace boost
18 
19 extern CWallet* pwalletMain;
20 
21 void StartShutdown();
22 bool ShutdownRequested();
24 void Interrupt(boost::thread_group& threadGroup);
25 void Shutdown();
27 void InitLogging();
30 bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler);
31 void PrepareShutdown();
32 
37 };
38 
40 std::string HelpMessage(HelpMessageMode mode);
42 std::string LicenseInfo();
43 
44 #endif // BITCOIN_INIT_H
bool ShutdownRequested()
Definition: init.cpp:168
Definition: init.h:14
void Interrupt(boost::thread_group &threadGroup)
Definition: init.cpp:197
HelpMessageMode
Definition: init.h:34
void Shutdown()
Definition: init.cpp:315
std::string HelpMessage(HelpMessageMode mode)
Definition: init.cpp:384
void InitParameterInteraction()
Parameter interaction: change current parameters depending on various rules.
Definition: init.cpp:818
void InitLogging()
Initialize the logging infrastructure.
Definition: init.cpp:926
bool AppInit2(boost::thread_group &threadGroup, CScheduler &scheduler)
Definition: init.cpp:942
std::string LicenseInfo()
Definition: init.cpp:637
void PrepareShutdown()
Definition: init.cpp:210
void StartShutdown()
Definition: init.cpp:164
CWallet * pwalletMain