![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <string>
Go to the source code of this file.
Enumerations | |
enum | HelpMessageMode { HMM_BITCOIND, HMM_BITCOIN_QT } |
Functions | |
void | StartShutdown () |
bool | ShutdownRequested () |
void | Interrupt (boost::thread_group &threadGroup) |
void | Shutdown () |
void | InitLogging () |
Initialize the logging infrastructure. More... | |
void | InitParameterInteraction () |
Parameter interaction: change current parameters depending on various rules. More... | |
bool | AppInit2 (boost::thread_group &threadGroup, CScheduler &scheduler) |
void | PrepareShutdown () |
std::string | HelpMessage (HelpMessageMode mode) |
std::string | LicenseInfo () |
Variables | |
CWallet * | pwalletMain |
enum HelpMessageMode |
bool AppInit2 | ( | boost::thread_group & | threadGroup, |
CScheduler & | scheduler | ||
) |
Initialize Dash Core.
Definition at line 942 of file init.cpp.
Referenced by AppInit(), and BitcoinCore::initialize().
std::string HelpMessage | ( | HelpMessageMode | mode | ) |
Help for options shared between UI and daemon (for -help)
Definition at line 384 of file init.cpp.
Referenced by AppInit(), and HelpMessageDialog::HelpMessageDialog().
void InitLogging | ( | ) |
Initialize the logging infrastructure.
Definition at line 926 of file init.cpp.
Referenced by AppInit(), and BitcoinApplication::parameterSetup().
void InitParameterInteraction | ( | ) |
Parameter interaction: change current parameters depending on various rules.
Definition at line 818 of file init.cpp.
Referenced by AppInit(), and BitcoinApplication::parameterSetup().
void Interrupt | ( | boost::thread_group & | threadGroup | ) |
Interrupt threads
Definition at line 197 of file init.cpp.
Referenced by AppInit(), BitcoinCore::shutdown(), and WaitForShutdown().
std::string LicenseInfo | ( | ) |
Returns licensing information (for -version)
Definition at line 637 of file init.cpp.
Referenced by AppInit(), and HelpMessageDialog::HelpMessageDialog().
void PrepareShutdown | ( | ) |
Preparing steps before shutting down or restarting the wallet
Note: Shutdown() must be able to handle cases in which AppInit2() failed part of the way, for example if the data directory was found to be locked. Be sure that anything that writes files or flushes caches only does this if the respective module was initialized.
Definition at line 210 of file init.cpp.
Referenced by BitcoinCore::restart(), and Shutdown().
void Shutdown | ( | ) |
Shutdown is split into 2 parts: Part 1: shut down everything but the main wallet instance (done in PrepareShutdown() ) Part 2: delete wallet instance
In case of a restart PrepareShutdown() was already called before, but this method here gets called implicitly when the parent object is deleted. In this case we have to skip the PrepareShutdown() part because it was already executed and just delete the wallet instance.
Definition at line 315 of file init.cpp.
Referenced by AppInit(), and BitcoinCore::shutdown().
bool ShutdownRequested | ( | ) |
Definition at line 168 of file init.cpp.
Referenced by ActivateBestChain(), CMasternode::Check(), BitcoinGUI::detectShutdown(), BitcoinGUI::handleRestart(), OverviewPage::privateSendStatus(), ThreadCheckPrivateSend(), ThreadCheckPrivateSendClient(), ThreadCheckPrivateSendServer(), ThreadSendAlert(), OverviewPage::updatePrivateSendProgress(), CVerifyDB::VerifyDB(), and WaitForShutdown().
void StartShutdown | ( | ) |
Definition at line 164 of file init.cpp.
Referenced by SplashScreen::closeEvent(), encryptwallet(), stop(), and ThreadImport().
CWallet* pwalletMain |