Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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 <memory>
10 #include <string>
11 
12 class CScheduler;
13 class CWallet;
14 
17 
18 namespace boost
19 {
20 class thread_group;
21 } // namespace boost
22 
23 void StartShutdown();
24 void StartRestart();
25 bool ShutdownRequested();
27 void Interrupt();
28 void Shutdown();
30 void InitLogging();
33 
38 bool AppInitBasicSetup();
50 bool AppInitSanityChecks();
62 bool AppInitMain();
63 void PrepareShutdown();
64 
69 };
70 
72 std::string HelpMessage(HelpMessageMode mode);
74 std::string LicenseInfo();
75 
76 #endif // BITCOIN_INIT_H
bool AppInitMain()
Dash Core main initialization.
Definition: init.cpp:1586
bool ShutdownRequested()
Definition: init.cpp:179
Definition: init.h:18
bool AppInitSanityChecks()
Initialization sanity checks: ecc init, sanity checks, dir lock.
Definition: init.cpp:1553
HelpMessageMode
The help message mode determines what help message to show.
Definition: init.h:66
void Shutdown()
Shutdown is split into 2 parts: Part 1: shut down everything but the main wallet instance (done in Pr...
Definition: init.cpp:375
std::string HelpMessage(HelpMessageMode mode)
Help for options shared between UI and daemon (for -help)
Definition: init.cpp:449
void InitParameterInteraction()
Parameter interaction: change current parameters depending on various rules.
Definition: init.cpp:923
void InitLogging()
Initialize the logging infrastructure.
Definition: init.cpp:1024
bool AppInitParameterInteraction()
Initialization: parameter interaction.
Definition: init.cpp:1109
WalletInitInterface *const g_wallet_init_interface
Definition: init.cpp:122
bool AppInitLockDataDirectory()
Lock Dash Core data directory.
Definition: init.cpp:1574
void Interrupt()
Interrupt threads.
Definition: init.cpp:215
bool AppInitBasicSetup()
Initialize Dash Core: Basic context setup.
Definition: init.cpp:1059
void StartRestart()
Definition: init.cpp:175
std::string LicenseInfo()
Returns licensing information (for -version)
Definition: init.cpp:669
void PrepareShutdown()
Preparing steps before shutting down or restarting the wallet.
Definition: init.cpp:228
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:715
void StartShutdown()
Definition: init.cpp:171
Released under the MIT license