![]() |
Bitcoin ABC
0.22.12
P2P Digital Currency
|
Go to the source code of this file.
Namespaces | |
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: Basic context setup. More... | |
bool | AppInitParameterInteraction (Config &config, const ArgsManager &args) |
Initialization: parameter interaction. More... | |
bool | AppInitSanityChecks () |
Initialization sanity checks: ecc init, sanity checks, dir lock. More... | |
bool | AppInitLockDataDirectory () |
Lock bitcoin data directory. More... | |
bool | AppInitMain (Config &config, RPCServer &rpcServer, HTTPRPCRequestProcessor &httpRPCRequestProcessor, NodeContext &node) |
Bitcoin 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: Basic context setup.
Definition at line 1649 of file init.cpp.
bool AppInitLockDataDirectory | ( | ) |
Lock bitcoin data directory.
Definition at line 2081 of file init.cpp.
bool AppInitMain | ( | Config & | config, |
RPCServer & | rpcServer, | ||
HTTPRPCRequestProcessor & | httpRPCRequestProcessor, | ||
NodeContext & | node | ||
) |
Bitcoin main initialization.
Register RPC commands regardless of -server setting so they will be available in the GUI RPC console even if external calls are disabled.
Start the RPC server. It will be started in "warmup" mode and not process calls yet (but it will verify that the server is there and will be ready later). Warmup mode will be completed when initialisation is finished.
Definition at line 2093 of file init.cpp.
bool AppInitParameterInteraction | ( | Config & | config, |
const ArgsManager & | args | ||
) |
Initialization: parameter interaction.
Definition at line 1692 of file init.cpp.
bool AppInitSanityChecks | ( | ) |
Initialization sanity checks: ecc init, sanity checks, dir lock.
Definition at line 2058 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 1602 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 376 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.