18 struct BlockAndHeaderTipInfo;
82 #endif // BITCOIN_INIT_H void InitParameterInteraction(ArgsManager &args)
Parameter interaction: change current parameters depending on various rules.
void Interrupt(node::NodeContext &node)
Interrupt threads.
void InitLogging(const ArgsManager &args)
Initialize the logging infrastructure.
static constexpr bool DEFAULT_DAEMON
Default value for -daemon option.
bool AppInitSanityChecks(const kernel::Context &kernel)
Initialization sanity checks.
NodeContext struct containing references to chain state and connection state.
bool AppInitInterfaces(node::NodeContext &node)
Initialize node and wallet interface pointers.
void Shutdown(node::NodeContext &node)
bool AppInitLockDataDirectory()
Lock bitcoin core data directory.
Block and header tip information.
bool StartIndexBackgroundSync(node::NodeContext &node)
Validates requirements to run the indexes and spawns each index initial sync thread.
void SetupServerArgs(ArgsManager &argsman)
Register all arguments with the ArgsManager.
bool AppInitMain(node::NodeContext &node, interfaces::BlockAndHeaderTipInfo *tip_info=nullptr)
Bitcoin core main initialization.
bool AppInitParameterInteraction(const ArgsManager &args)
Initialization: parameter interaction.
Context struct holding the kernel library's logically global state, and passed to external libbitcoin...
static constexpr bool DEFAULT_DAEMONWAIT
Default value for -daemonwait option.
bool ShutdownRequested(node::NodeContext &node)
Return whether node shutdown was requested.
bool AppInitBasicSetup(const ArgsManager &args, std::atomic< int > &exit_status)
Initialize bitcoin core: Basic context setup.
void InitContext(node::NodeContext &node)
Initialize node context shutdown and args variables.