[#AppInitBasicSetup]
= AppInitBasicSetup
:mrdocs:

Initialize bitcoin core&colon; Basic context setup&period;

== Synopsis

Declared in `&lt;init&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
AppInitBasicSetup(
    xref:ArgsManager.adoc[ArgsManager] const& args,
    std::atomic&lt;int&gt;& exit&lowbar;status);
----

== Description

[NOTE]
====
This can be done before daemonization&period; Do not call Shutdown() if this function fails&period;

====

== Return Value

true if basic setup succeeded&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *args*
| The parsed program arguments&period;
| *exit&lowbar;status*
| Set to the process exit status when setup fails&period;
|===

== Preconditions

* Parameters should be parsed and config file should be read&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
