![]() |
Bitcoin Core
24.99.0
P2P Digital Currency
|
#include <any>
#include <memory>
#include <string>
Go to the source code of this file.
Namespaces | |
interfaces | |
kernel | |
node | |
Functions | |
void | Interrupt (node::NodeContext &node) |
Interrupt threads. More... | |
void | Shutdown (node::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 (const ArgsManager &args) |
Initialize bitcoin core: Basic context setup. More... | |
bool | AppInitParameterInteraction (const ArgsManager &args, bool use_syscall_sandbox=true) |
Initialization: parameter interaction. More... | |
bool | AppInitSanityChecks (const kernel::Context &kernel) |
Initialization sanity checks. More... | |
bool | AppInitLockDataDirectory () |
Lock bitcoin core data directory. More... | |
bool | AppInitInterfaces (node::NodeContext &node) |
Initialize node and wallet interface pointers. More... | |
bool | AppInitMain (node::NodeContext &node, interfaces::BlockAndHeaderTipInfo *tip_info=nullptr) |
Bitcoin core main initialization. More... | |
void | SetupServerArgs (ArgsManager &argsman) |
Register all arguments with the ArgsManager. More... | |
Variables | |
static constexpr bool | DEFAULT_DAEMON = false |
Default value for -daemon option. More... | |
static constexpr bool | DEFAULT_DAEMONWAIT = false |
Default value for -daemonwait option. More... | |
bool AppInitBasicSetup | ( | const ArgsManager & | args | ) |
Initialize bitcoin core: Basic context setup.
Definition at line 801 of file init.cpp.
bool AppInitInterfaces | ( | node::NodeContext & | node | ) |
bool AppInitLockDataDirectory | ( | ) |
Lock bitcoin core data directory.
Definition at line 1094 of file init.cpp.
bool AppInitMain | ( | node::NodeContext & | node, |
interfaces::BlockAndHeaderTipInfo * | tip_info = nullptr |
||
) |
Bitcoin core main initialization.
Definition at line 1112 of file init.cpp.
bool AppInitParameterInteraction | ( | const ArgsManager & | args, |
bool | use_syscall_sandbox = true |
||
) |
Initialization: parameter interaction.
Definition at line 846 of file init.cpp.
bool AppInitSanityChecks | ( | const kernel::Context & | kernel | ) |
Initialization sanity checks.
Definition at line 1080 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 771 of file init.cpp.
void InitParameterInteraction | ( | ArgsManager & | args | ) |
void Interrupt | ( | node::NodeContext & | node | ) |
void SetupServerArgs | ( | ArgsManager & | argsman | ) |
Register all arguments with the ArgsManager.
Definition at line 403 of file init.cpp.
void Shutdown | ( | node::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 229 of file init.cpp.
|
staticconstexpr |