Changeset View
Changeset View
Standalone View
Standalone View
src/init.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
* Lock bitcoin data directory. | * Lock bitcoin data directory. | ||||
* @note This should only be done after daemonization. | * @note This should only be done after daemonization. | ||||
* Do not call Shutdown() if this function fails. | * Do not call Shutdown() if this function fails. | ||||
* @pre Parameters should be parsed and config file should be read, | * @pre Parameters should be parsed and config file should be read, | ||||
* AppInitSanityChecks should have been called. | * AppInitSanityChecks should have been called. | ||||
*/ | */ | ||||
bool AppInitLockDataDirectory(); | bool AppInitLockDataDirectory(); | ||||
/** | /** | ||||
* Initialize node and wallet interface pointers. Has no prerequisites or side | |||||
* effects besides allocating memory. | |||||
*/ | |||||
bool AppInitInterfaces(NodeContext &node); | |||||
/** | |||||
* Bitcoin main initialization. | * Bitcoin main initialization. | ||||
* @note This should only be done after daemonization. | * @note This should only be done after daemonization. | ||||
* @pre Parameters should be parsed and config file should be read, | * @pre Parameters should be parsed and config file should be read, | ||||
* AppInitLockDataDirectory should have been called. | * AppInitLockDataDirectory should have been called. | ||||
*/ | */ | ||||
bool AppInitMain(Config &config, RPCServer &rpcServer, | bool AppInitMain(Config &config, RPCServer &rpcServer, | ||||
HTTPRPCRequestProcessor &httpRPCRequestProcessor, | HTTPRPCRequestProcessor &httpRPCRequestProcessor, | ||||
NodeContext &node, | NodeContext &node, | ||||
Show All 11 Lines |