Changeset View
Changeset View
Standalone View
Standalone View
src/init.h
Show First 20 Lines • Show All 54 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(); | ||||
/** | |||||
* Setup logging and parameter interactions | |||||
*/ | |||||
void ParameterSetup(); | |||||
/** | |||||
* Init Base: Basic Setup init parameter interaction, sanity checks, and lock | |||||
* the data dir. | |||||
*/ | |||||
bool AppInitBase(Config &config, RPCServer &rpcServer); | |||||
/** | /** | ||||
* 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, | bool AppInitMain(Config &config, | ||||
HTTPRPCRequestProcessor &httpRPCRequestProcessor, | HTTPRPCRequestProcessor &httpRPCRequestProcessor, | ||||
Show All 11 Lines |