#include <string>
Go to the source code of this file.
◆ HelpMessageMode
The help message mode determines what help message to show.
| Enumerator |
|---|
| HMM_BITCOIND | |
| HMM_BITCOIN_QT | |
Definition at line 53 of file init.h.
◆ AppInitBasicSetup()
| bool AppInitBasicSetup |
( |
| ) |
|
Initialize PIVX 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 805 of file init.cpp.
◆ AppInitMain()
Bitcoin core main initialization.
- Note
- This should only be done after daemonization.
- Precondition
- Parameters should be parsed and config file should be read, AppInitSanityChecks should have been called.
Definition at line 1168 of file init.cpp.
◆ AppInitParameterInteraction()
| bool AppInitParameterInteraction |
( |
| ) |
|
Initialization: parameter interaction.
- Note
- This can be done before daemonization.
- Precondition
- Parameters should be parsed and config file should be read, AppInitBasicSetup should have been called.
- Todo:
- *** do we still need this after -printtoconsole is gone?
Definition at line 974 of file init.cpp.
◆ AppInitSanityChecks()
| bool AppInitSanityChecks |
( |
| ) |
|
Initialization sanity checks: ecc init, sanity checks, dir lock.
- Note
- This can be done before daemonization.
- Precondition
- Parameters should be parsed and config file should be read, AppInitParameterInteraction should have been called.
Definition at line 1151 of file init.cpp.
◆ HelpMessage()
Help for options shared between UI and daemon (for -help)
Definition at line 381 of file init.cpp.
◆ InitLogging()
Initialize the logging infrastructure.
Definition at line 949 of file init.cpp.
◆ InitParameterInteraction()
| void InitParameterInteraction |
( |
| ) |
|
Parameter interaction: change current parameters depending on various rules.
Definition at line 856 of file init.cpp.
◆ Interrupt()
Interrupt threads.
Definition at line 186 of file init.cpp.
◆ LicenseInfo()
| std::string LicenseInfo |
( |
| ) |
|
Returns licensing information (for -version)
Definition at line 570 of file init.cpp.
◆ Shutdown()
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 199 of file init.cpp.