Dogecoin Core  1.14.2
P2P Digital Currency
init.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2016 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 void StartShutdown();
20 bool ShutdownRequested();
22 void Interrupt(boost::thread_group& threadGroup);
23 void Shutdown();
25 void InitLogging();
28 
33 bool AppInitBasicSetup();
45 bool AppInitSanityChecks();
51 bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler);
52 
57 };
58 
60 std::string HelpMessage(HelpMessageMode mode);
62 std::string LicenseInfo();
63 
64 #endif // BITCOIN_INIT_H
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances,...
Definition: wallet.h:493
HelpMessageMode
The help message mode determines what help message to show.
Definition: init.h:54
@ HMM_BITCOIN_QT
Definition: init.h:56
@ HMM_BITCOIND
Definition: init.h:55
bool AppInitMain(boost::thread_group &threadGroup, CScheduler &scheduler)
Bitcoin core main initialization.
Definition: init.cpp:1156
void InitParameterInteraction()
Parameter interaction: change current parameters depending on various rules.
Definition: init.cpp:719
std::string HelpMessage(HelpMessageMode mode)
Help for options shared between UI and daemon (for -help)
Definition: init.cpp:319
bool ShutdownRequested()
Definition: init.cpp:138
bool AppInitParameterInteraction()
Initialization: parameter interaction.
Definition: init.cpp:879
bool AppInitBasicSetup()
Initialize bitcoin core: Basic context setup.
Definition: init.cpp:821
bool AppInitSanityChecks()
Initialization sanity checks: ecc init, sanity checks, dir lock.
Definition: init.cpp:1140
void InitLogging()
Initialize the logging infrastructure.
Definition: init.cpp:787
void Shutdown()
Definition: init.cpp:184
void StartShutdown()
Definition: init.cpp:134
std::string LicenseInfo()
Returns licensing information (for -version)
Definition: init.cpp:510
void Interrupt(boost::thread_group &threadGroup)
Interrupt threads.
Definition: init.cpp:172