Raven Core
3.0.0
P2P Digital Currency
|
#include <string>
Go to the source code of this file.
Enumerations | |
enum | HelpMessageMode { HMM_RAVEND, HMM_RAVEN_QT } |
The help message mode determines what help message to show. More... | |
Functions | |
void | StartShutdown () |
void | StartRestart () |
bool | ShutdownRequested () |
void | Interrupt (boost::thread_group &threadGroup) |
Interrupt threads. More... | |
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. More... | |
void | InitLogging () |
Initialize the logging infrastructure. More... | |
void | InitParameterInteraction () |
Parameter interaction: change current parameters depending on various rules. More... | |
bool | AppInitBasicSetup () |
Initialize raven core: Basic context setup. More... | |
bool | AppInitParameterInteraction () |
Initialization: parameter interaction. More... | |
bool | AppInitSanityChecks () |
Initialization sanity checks: ecc init, sanity checks, dir lock. More... | |
bool | AppInitLockDataDirectory () |
Lock raven core data directory. More... | |
bool | AppInitMain (boost::thread_group &threadGroup, CScheduler &scheduler) |
Raven core main initialization. More... | |
void | PrepareShutdown () |
Preparing steps before shutting down or restarting the wallet. More... | |
std::string | HelpMessage (HelpMessageMode mode) |
Help for options shared between UI and daemon (for -help) More... | |
std::string | LicenseInfo () |
Returns licensing information (for -version) More... | |
enum HelpMessageMode |
bool AppInitBasicSetup | ( | ) |
Initialize raven core: Basic context setup.
Definition at line 923 of file init.cpp.
bool AppInitLockDataDirectory | ( | ) |
Lock raven core data directory.
Definition at line 1279 of file init.cpp.
bool AppInitMain | ( | boost::thread_group & | threadGroup, |
CScheduler & | scheduler | ||
) |
Raven core main initialization.
RVN START
RVN END
Definition at line 1291 of file init.cpp.
bool AppInitParameterInteraction | ( | ) |
Initialization: parameter interaction.
Definition at line 971 of file init.cpp.
bool AppInitSanityChecks | ( | ) |
Initialization sanity checks: ecc init, sanity checks, dir lock.
Definition at line 1258 of file init.cpp.
std::string HelpMessage | ( | HelpMessageMode | mode | ) |
void InitLogging | ( | ) |
void InitParameterInteraction | ( | ) |
void Interrupt | ( | boost::thread_group & | threadGroup | ) |
std::string LicenseInfo | ( | ) |
void PrepareShutdown | ( | ) |
Preparing steps before shutting down or restarting the wallet.
Note: Shutdown() must be able to handle cases in which initialization 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.
RVN START
RVN END
Definition at line 182 of file init.cpp.
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 336 of file init.cpp.
bool ShutdownRequested | ( | ) |
void StartRestart | ( | ) |