#include <string>
Go to the source code of this file.
The help message mode determines what help message to show.
Enumerator |
---|
HMM_FABCOIND |
|
HMM_FABCOIN_QT |
|
Definition at line 60 of file init.h.
bool AppInitBasicSetup |
( |
| ) |
|
Initialize fabcoin core: Basic context setup.
- Note
- This can be done before daemonization. Do not call Shutdown() if this function fails.
- Precondition
- Parameters should be parsed and config file should be read.
Definition at line 885 of file init.cpp.
bool AppInitLockDataDirectory |
( |
| ) |
|
Lock fabcoin core data directory.
- Note
- This should only be done after daemonization. Do not call Shutdown() if this function fails.
- Precondition
- Parameters should be parsed and config file should be read, AppInitSanityChecks should have been called.
Definition at line 1241 of file init.cpp.
bool AppInitMain |
( |
boost::thread_group & |
threadGroup, |
|
|
CScheduler & |
scheduler |
|
) |
| |
Fabcoin core main initialization.
- Note
- This should only be done after daemonization. Call Shutdown() if this function fails.
- Precondition
- Parameters should be parsed and config file should be read, AppInitLockDataDirectory should have been called.
Definition at line 1253 of file init.cpp.
bool AppInitParameterInteraction |
( |
| ) |
|
Initialization: parameter interaction.
- Note
- This can be done before daemonization. Do not call Shutdown() if this function fails.
- Precondition
- Parameters should be parsed and config file should be read, AppInitBasicSetup should have been called.
Definition at line 933 of file init.cpp.
bool AppInitSanityChecks |
( |
| ) |
|
Initialization sanity checks: ecc init, sanity checks, dir lock.
- Note
- This can be done before daemonization. Do not call Shutdown() if this function fails.
- Precondition
- Parameters should be parsed and config file should be read, AppInitParameterInteraction should have been called.
Definition at line 1220 of file init.cpp.
Help for options shared between UI and daemon (for -help)
Definition at line 338 of file init.cpp.
Initialize the logging infrastructure.
Definition at line 851 of file init.cpp.
void InitParameterInteraction |
( |
| ) |
|
Parameter interaction: change current parameters depending on various rules.
Definition at line 774 of file init.cpp.
void Interrupt |
( |
boost::thread_group & |
threadGroup | ) |
|
Interrupt threads.
Definition at line 159 of file init.cpp.
std::string LicenseInfo |
( |
| ) |
|
Returns licensing information (for -version)
Definition at line 558 of file init.cpp.
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.
Definition at line 171 of file init.cpp.
bool ShutdownRequested |
( |
| ) |
|
void UnlockDataDirectory |
( |
| ) |
|
Unlock the data directory.
Definition at line 1840 of file init.cpp.