[#AppInitSanityChecks]
= AppInitSanityChecks
:mrdocs:

Initialization sanity checks&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
AppInitSanityChecks(xref:kernel/Context.adoc[kernel::Context] const& kernel);
----

== Description

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

====

== Return Value

true if all sanity checks passed&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *kernel*
| The consensus kernel context to sanity&hyphen;check against&period;
|===

== Preconditions

* Parameters should be parsed and config file should be read, AppInitParameterInteraction should have been called&period;


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