![]() |
Bitcoin Core
0.21.1
P2P Digital Currency
|
#include <memory>#include <string>Go to the source code of this file.
Namespaces | |
| interfaces | |
| util | |
Functions | |
| void | Interrupt (NodeContext &node) |
| Interrupt threads. More... | |
| void | Shutdown (NodeContext &node) |
| void | InitLogging (const ArgsManager &args) |
| Initialize the logging infrastructure. More... | |
| void | InitParameterInteraction (ArgsManager &args) |
| Parameter interaction: change current parameters depending on various rules. More... | |
| bool | AppInitBasicSetup (ArgsManager &args) |
| Initialize bitcoin core: Basic context setup. More... | |
| bool | AppInitParameterInteraction (const ArgsManager &args) |
| Initialization: parameter interaction. More... | |
| bool | AppInitSanityChecks () |
| Initialization sanity checks: ecc init, sanity checks, dir lock. More... | |
| bool | AppInitLockDataDirectory () |
| Lock bitcoin core data directory. More... | |
| bool | AppInitInterfaces (NodeContext &node) |
| Initialize node and wallet interface pointers. More... | |
| bool | AppInitMain (const util::Ref &context, NodeContext &node, interfaces::BlockAndHeaderTipInfo *tip_info=nullptr) |
| Bitcoin core main initialization. More... | |
| void | SetupServerArgs (NodeContext &node) |
| Register all arguments with the ArgsManager. More... | |
| std::string | LicenseInfo () |
| Returns licensing information (for -version) More... | |
| bool AppInitBasicSetup | ( | ArgsManager & | args | ) |
Initialize bitcoin core: Basic context setup.
Definition at line 917 of file init.cpp.
| bool AppInitInterfaces | ( | NodeContext & | node | ) |
| bool AppInitLockDataDirectory | ( | ) |
Lock bitcoin core data directory.
Definition at line 1240 of file init.cpp.
| bool AppInitMain | ( | const util::Ref & | context, |
| NodeContext & | node, | ||
| interfaces::BlockAndHeaderTipInfo * | tip_info = nullptr |
||
| ) |
Bitcoin core main initialization.
Definition at line 1263 of file init.cpp.
| bool AppInitParameterInteraction | ( | const ArgsManager & | args | ) |
Initialization: parameter interaction.
Definition at line 959 of file init.cpp.
| bool AppInitSanityChecks | ( | ) |
Initialization sanity checks: ecc init, sanity checks, dir lock.
Definition at line 1219 of file init.cpp.
| void InitLogging | ( | const ArgsManager & | args | ) |
Initialize the logging infrastructure.
Initialize the logging infrastructure.
Note that this is called very early in the process lifetime, so you should be careful about what global state you rely on here.
Definition at line 871 of file init.cpp.
| void InitParameterInteraction | ( | ArgsManager & | args | ) |
| void Interrupt | ( | NodeContext & | node | ) |
| std::string LicenseInfo | ( | ) |
| void SetupServerArgs | ( | NodeContext & | node | ) |
Register all arguments with the ArgsManager.
Definition at line 371 of file init.cpp.
| void Shutdown | ( | NodeContext & | node | ) |
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 178 of file init.cpp.
1.8.8