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

Name

Description

args

The parsed program arguments.

exit_status

Set to the process exit status when setup fails.

Preconditions

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

Created with MrDocs