AppInitBasicSetup

Initialize bitcoin core: Basic context setup.

Synopsis

Declared in <init.h>

bool
AppInitBasicSetup(
    ArgsManager const& args,
    std::atomic<int>& exit_status);

Description

NOTE

This can be done before daemonization. Do not call Shutdown() if this function fails.

Return Value

true if basic setup succeeded.

Parameters

NameDescription
argsThe parsed program arguments.
exit_statusSet to the process exit status when setup fails.

Preconditions

  • Parameters should be parsed and config file should be read.