| Initialize bitcoin core: Basic context
| setup.
|
| ———–
| @note
|
| This can be done before daemonization.
| Do not call Shutdown() if this function
| fails. @pre Parameters should be parsed
| and config file should be read.
|
| Initialize node and wallet interface
| pointers. Has no prerequisites or side
| effects besides allocating memory.
|
| Lock bitcoin core data directory.
|
| ———–
| @note
|
| This should only be done after daemonization.
| Do not call Shutdown() if this function
| fails. @pre Parameters should be parsed
| and config file should be read, AppInitSanityChecks
| should have been called.
|
| Bitcoin core main initialization.
|
| ———–
| @note
|
| This should only be done after daemonization.
| Call Shutdown() if this function fails.
| @pre Parameters should be parsed and
| config file should be read, AppInitLockDataDirectory
| should have been called.
|
| Initialization: parameter interaction.
|
| ———–
| @note
|
| This can be done before daemonization.
| Do not call Shutdown() if this function
| fails. @pre Parameters should be parsed
| and config file should be read, AppInitBasicSetup
| should have been called.
|
| Initialization sanity checks: ecc
| init, sanity checks, dir lock.
|
| ———–
| @note
|
| This can be done before daemonization.
| Do not call Shutdown() if this function
| fails. @pre Parameters should be parsed
| and config file should be read, AppInitParameterInteraction
| should have been called.
|
| Signal handlers are very limited in
| what they are allowed to do.
|
| The execution context the handler is
| invoked in is not guaranteed, so we restrict
| handler operations to just touching
| variables:
|
| Initialize global loggers.
|
| ———–
| @note
|
| this is called very early in the process
| lifetime, so you should be careful about
| what global state you rely on here.
|
| Parameter interaction: change current
| parameters depending on various rules
|
| Interrupt threads
|
| Returns licensing information (for
| -version)
|
| Return implementation of Echo interface.
|
| Ensure a usable environment with all
| necessary library support.
|
| Register all arguments with the ArgsManager
|