[#BaseIndex-Init]
= xref:BaseIndex.adoc[BaseIndex]::Init
:relfileprefix: ../
:mrdocs:

Initializes the sync state and registers the instance to the validation interface so that it stays in sync with blockchain updates&period;

== Synopsis

Declared in `&lt;index&sol;base&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
bool
Init();
----

== Return Value

True on success&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====

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