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