[#btck-ChainMan-2constructor]
= xref:btck.adoc[btck]::xref:btck/ChainMan.adoc[ChainMan]::ChainMan
:relfileprefix: ../../
:mrdocs:

Constructs the manager from a context and its options&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ChainMan(
    xref:btck/Context.adoc[Context] const& context,
    xref:btck/ChainstateManagerOptions.adoc[ChainstateManagerOptions] const& chainman&lowbar;opts);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *context*
| The kernel context&period;
| *chainman&lowbar;opts*
| The configured chainstate&hyphen;manager options&period;
|===


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